summaryrefslogtreecommitdiff
path: root/src/testdir/test_vim9_func.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_vim9_func.vim')
-rw-r--r--src/testdir/test_vim9_func.vim2
1 files changed, 2 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