diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-13 15:16:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-13 15:16:13 +0100 |
commit | c0f5a78c15b194f23bedb82e6825e34f481e6532 (patch) | |
tree | 499198e36943d41843167eadc9e90efdad928369 /src/testdir/test_eval_stuff.vim | |
parent | 6e5ea8d2a995b32bbc5972edc4f827b959f2702f (diff) | |
download | vim-git-c0f5a78c15b194f23bedb82e6825e34f481e6532.tar.gz |
patch 8.1.0736: code for Blob not sufficiently testedv8.1.0736
Problem: Code for Blob not sufficiently tested.
Solution: Add more tests. Fix uncovered crash. Add test_null_blob().
Diffstat (limited to 'src/testdir/test_eval_stuff.vim')
-rw-r--r-- | src/testdir/test_eval_stuff.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_eval_stuff.vim b/src/testdir/test_eval_stuff.vim index a1aa78878..dc3cb8919 100644 --- a/src/testdir/test_eval_stuff.vim +++ b/src/testdir/test_eval_stuff.vim @@ -63,3 +63,9 @@ func Test_E963() call assert_fails("let v:oldfiles=''", 'E963:') call assert_equal(v_o, v:oldfiles) endfunc + +func Test_for_invalid() + call assert_fails("for x in 99", 'E714:') + call assert_fails("for x in 'asdf'", 'E714:') + call assert_fails("for x in {'a': 9}", 'E714:') +endfunc |