Patch 8.0.1716
Problem: Test for term_setsize() does not give a good error message.
Solution: use assert_inrange().
Files: src/testdir/test_terminal.vim
*** ../vim-8.0.1715/src/testdir/test_terminal.vim 2018-04-14
21:31:32.096297041 +0200
--- src/testdir/test_terminal.vim 2018-04-15 12:58:08.462659019 +0200
***************
*** 283,290 ****
let rows = term_getsize(buf)[0]
call WaitFor({-> term_getline(buf, rows - 1) =~ '149'})
let lines = line('$')
! call assert_true(lines <= 100)
! call assert_true(lines > 90)
call Stop_shell_in_terminal(buf)
call term_wait(buf)
--- 283,289 ----
let rows = term_getsize(buf)[0]
call WaitFor({-> term_getline(buf, rows - 1) =~ '149'})
let lines = line('$')
! call assert_inrange(91, 100, lines)
call Stop_shell_in_terminal(buf)
call term_wait(buf)
*** ../vim-8.0.1715/src/version.c 2018-04-15 12:55:09.335988841 +0200
--- src/version.c 2018-04-15 13:09:16.273855410 +0200
***************
*** 764,765 ****
--- 764,767 ----
{ /* Add new patch number below this line */
+ /**/
+ 1716,
/**/
--
hundred-and-one symptoms of being an internet addict:
182. You may not know what is happening in the world, but you know
every bit of net-gossip there is.
/// 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.