diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-05 18:48:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-05 18:48:57 +0200 |
commit | 636c5d5399e1a42e8eb5bcb5fede318438d2347a (patch) | |
tree | 718eef59b3273235748143bc14596651ced0249d | |
parent | 04637e243d39f791cfc97c3ce96d99ef1bf047e1 (diff) | |
download | vim-git-636c5d5399e1a42e8eb5bcb5fede318438d2347a.tar.gz |
patch 8.2.1607: Vim9: getchar() test fails on MS-Windowsv8.2.1607
Problem: Vim9: getchar() test fails on MS-Windows.
Solution: First consume any available input.
-rw-r--r-- | src/testdir/test_vim9_func.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index dcc8087f4..a80767ad2 100644 --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim @@ -1506,6 +1506,8 @@ def Test_getbufinfo() enddef def Test_getchar() + while getchar(0) + endwhile assert_equal(0, getchar(true)) enddef diff --git a/src/version.c b/src/version.c index 70f736d15..c306c8858 100644 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1607, +/**/ 1606, /**/ 1605, |