0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

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 #5913)
This commit is contained in:
Bram Moolenaar
2020-04-12 13:50:26 +02:00
parent 88c1ee84d6
commit 1363a30cef
5 changed files with 141 additions and 1 deletions

View File

@@ -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
"-------------------------------------------------------------------------------