diff options
Diffstat (limited to 'src/testdir/test_filter_map.vim')
-rw-r--r-- | src/testdir/test_filter_map.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_filter_map.vim b/src/testdir/test_filter_map.vim index 63102cd9d4..fc9c741bb3 100644 --- a/src/testdir/test_filter_map.vim +++ b/src/testdir/test_filter_map.vim @@ -96,6 +96,7 @@ func Test_map_filter_fails() call assert_fails("let l = filter('abc', '\"> \" . v:val')", 'E712:') call assert_fails("let l = filter([1, 2, 3], '{}')", 'E728:') call assert_fails("let l = filter({'k' : 10}, '{}')", 'E728:') + call assert_fails("let l = filter([1, 2], {})", 'E731:') call assert_equal(0, map(test_null_list(), '"> " .. v:val')) call assert_equal(0, map(test_null_dict(), '"> " .. v:val')) endfunc |