diff options
Diffstat (limited to 'src/testdir/test_vim9_func.vim')
-rw-r--r-- | src/testdir/test_vim9_func.vim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index 24377b2898..ff2379a9aa 100644 --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim @@ -1551,6 +1551,13 @@ def Test_searchdecl() assert_equal(1, searchdecl('blah', true, true)) enddef +def Test_synID() + new + setline(1, "text") + assert_equal(0, synID(1, 1, true)) + bwipe! +enddef + def Fibonacci(n: number): number if n < 2 return n |