Mercurial > vim
diff src/testdir/test_vimscript.vim @ 19991:f27473034f26 v8.2.0551
patch 8.2.0551: not all code for options is tested
Commit: https://github.com/vim/vim/commit/1363a30cef382b912bf092969e040333c5c293c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 12 13:50:26 2020 +0200
patch 8.2.0551: not all code for options is tested
Problem: Not all code for options is tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5913)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Apr 2020 14:00:04 +0200 |
parents | c087099e9163 |
children | 646c53fa5781 |
line wrap: on
line diff
--- a/src/testdir/test_vimscript.vim +++ b/src/testdir/test_vimscript.vim @@ -1411,6 +1411,10 @@ func Test_echo_and_string() call assert_equal(["{'a': [1, 2, 3], 'b': [...]}", \ "{'a': [1, 2, 3], 'b': [1, 2, 3]}"], l) + call assert_fails('echo &:', 'E112:') + call assert_fails('echo &g:', 'E112:') + call assert_fails('echo &l:', 'E112:') + endfunc "-------------------------------------------------------------------------------