commit | 254b105b755d9736ece5f7f28db92acaf3e7bf76 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 10 16:10:17 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 10 16:10:17 2016 +0100 |
tree | 110ad84ffb34e110f689790741b244ee77b6df28 | |
parent | f32c5cd6e0e6aa6d4aeacb6bf52e3d3ba21e5201 [diff] [blame] |
patch 7.4.1081 Problem: No test for what previously caused a crash. Solution: Add test for unletting errmsg.
diff --git a/src/testdir/test_unlet.vim b/src/testdir/test_unlet.vim index f670599..13ec66b 100644 --- a/src/testdir/test_unlet.vim +++ b/src/testdir/test_unlet.vim
@@ -7,6 +7,12 @@ catch call assert_true(v:exception =~ ':E795:') endtry + try + " this caused a crash + unlet errmsg + catch + call assert_true(v:exception =~ ':E795:') + endtry endfunc func Test_existing()