diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-05-25 20:14:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-25 20:14:00 +0200 |
commit | 34fcb697240c1bc9e69417ed75db3b1a83479724 (patch) | |
tree | aaad1ed8d12bdcd32bf178eac8c7a17259bb529a /src/testdir/test_expr.vim | |
parent | 872bee557e5f8ab0e4a523a6a845868a2801b17e (diff) |
patch 8.2.2886: various pieces of code not covered by testsv8.2.2886
Problem: Various pieces of code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8255)
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r-- | src/testdir/test_expr.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index dde6e77ba7..597c022145 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -127,6 +127,7 @@ func Test_getreg_empty_list() let y = x call add(x, 'foo') call assert_equal(['foo'], y) + call assert_fails('call getreg([])', 'E730:') endfunc func Test_loop_over_null_list() |