mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 19:39:53 +10:00
vim-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 vim/vim#5913)
1363a30cef
This commit is contained in:
@@ -6705,6 +6705,11 @@ func Test_echo_and_string()
|
||||
let l = split(result, "\n")
|
||||
call assert_equal(["{'a': [], 'b': []}",
|
||||
\ "{'a': [], 'b': []}"], 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