Patch 8.0.1637
Problem:    No test for term_dumpdiff() options argument.
Solution:   Add a test.
Files:      src/testdir/test_terminal.vim


*** ../vim-8.0.1636/src/testdir/test_terminal.vim       2018-03-24 
14:30:28.650346994 +0100
--- src/testdir/test_terminal.vim       2018-03-24 17:15:02.810455110 +0100
***************
*** 995,997 ****
--- 995,1025 ----
    call assert_equal('           bbbbbbbbbbbbbbbbbb ', getline(26)[0:29])
    quit
  endfunc
+ 
+ func Test_terminal_dumpdiff_options()
+   set laststatus=0
+   call assert_equal(1, winnr('$'))
+   let height = winheight(0)
+   call term_dumpdiff('dumps/Test_popup_command_01.dump', 
'dumps/Test_popup_command_02.dump', {'vertical': 1, 'term_cols': 33})
+   call assert_equal(2, winnr('$'))
+   call assert_equal(height, winheight(winnr()))
+   call assert_equal(33, winwidth(winnr()))
+   call assert_equal('dump diff dumps/Test_popup_command_01.dump', 
bufname('%'))
+   quit
+ 
+   call assert_equal(1, winnr('$'))
+   let width = winwidth(0)
+   call term_dumpdiff('dumps/Test_popup_command_01.dump', 
'dumps/Test_popup_command_02.dump', {'vertical': 0, 'term_rows': 13, 
'term_name': 'something else'})
+   call assert_equal(2, winnr('$'))
+   call assert_equal(width, winwidth(winnr()))
+   call assert_equal(13, winheight(winnr()))
+   call assert_equal('something else', bufname('%'))
+   quit
+ 
+   call assert_equal(1, winnr('$'))
+   call term_dumpdiff('dumps/Test_popup_command_01.dump', 
'dumps/Test_popup_command_02.dump', {'curwin': 1})
+   call assert_equal(1, winnr('$'))
+   bwipe
+ 
+   set laststatus&
+ endfunc
*** ../vim-8.0.1636/src/version.c       2018-03-24 14:30:28.650346994 +0100
--- src/version.c       2018-03-24 17:15:40.662246080 +0100
***************
*** 768,769 ****
--- 768,771 ----
  {   /* Add new patch number below this line */
+ /**/
+     1637,
  /**/

-- 
CVS sux, men don't like commitment

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui