Patch 8.2.1607
Problem: Vim9: getchar() test fails on MS-Windows.
Solution: First consume any available input.
Files: src/testdir/test_vim9_func.vim
*** ../vim-8.2.1606/src/testdir/test_vim9_func.vim 2020-09-05
18:45:26.047602885 +0200
--- src/testdir/test_vim9_func.vim 2020-09-05 18:47:46.343322347 +0200
***************
*** 1506,1511 ****
--- 1506,1513 ----
enddef
def Test_getchar()
+ while getchar(0)
+ endwhile
assert_equal(0, getchar(true))
enddef
*** ../vim-8.2.1606/src/version.c 2020-09-05 18:45:26.047602885 +0200
--- src/version.c 2020-09-05 18:48:38.543215703 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1607,
/**/
--
"It's so simple to be wise. Just think of something stupid to say
and then don't say it." -- Sam Levenson
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202009051649.085GnPDm654860%40masaka.moolenaar.net.