diff options
Diffstat (limited to 'test/old/testdir/test_expr.vim')
-rw-r--r-- | test/old/testdir/test_expr.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/old/testdir/test_expr.vim b/test/old/testdir/test_expr.vim index 9e089d50b8..d771234983 100644 --- a/test/old/testdir/test_expr.vim +++ b/test/old/testdir/test_expr.vim @@ -154,6 +154,8 @@ func Test_strcharpart() call assert_equal('edit', "editor"[-10 : 3]) END call CheckLegacyAndVim9Success(lines) + + call assert_fails('echo strcharpart("", 0, 0, {})', ['E728:', 'E728:']) endfunc func Test_getreg_empty_list() |