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:
@@ -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
|
||||
|
||||
"-------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user