summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_expr.vim
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2021-05-25 20:14:00 +0200
committerBram Moolenaar <Bram@vim.org>2021-05-25 20:14:00 +0200
commit34fcb697240c1bc9e69417ed75db3b1a83479724 (patch)
treeaaad1ed8d12bdcd32bf178eac8c7a17259bb529a /src/testdir/test_expr.vim
parent872bee557e5f8ab0e4a523a6a845868a2801b17e (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.vim1
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()