aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_vimscript.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-29 07:51:58 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-04-29 09:07:10 +0800
commit291fd767e3979b25146c32115eacc3c2f8e1e517 (patch)
tree516a0b4f5b703be4866bbd09306423ba30e9d343 /test/old/testdir/test_vimscript.vim
parent129012172258a08efa87cbab927cdd3e4da7db90 (diff)
downloadrneovim-291fd767e3979b25146c32115eacc3c2f8e1e517.tar.gz
rneovim-291fd767e3979b25146c32115eacc3c2f8e1e517.tar.bz2
rneovim-291fd767e3979b25146c32115eacc3c2f8e1e517.zip
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) https://github.com/vim/vim/commit/1363a30cef382b912bf092969e040333c5c293c6
Diffstat (limited to 'test/old/testdir/test_vimscript.vim')
-rw-r--r--test/old/testdir/test_vimscript.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/old/testdir/test_vimscript.vim b/test/old/testdir/test_vimscript.vim
index 055a2bd2f2..68ce493927 100644
--- a/test/old/testdir/test_vimscript.vim
+++ b/test/old/testdir/test_vimscript.vim
@@ -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
"-------------------------------------------------------------------------------