aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_vimscript.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-29 10:07:51 +0800
committerGitHub <noreply@github.com>2023-04-29 10:07:51 +0800
commit3287fc2ba9284d48e945ab0008b7844e1ec40eec (patch)
tree2844deffee1f539d8bf933654dda276bcb55bc9c /test/old/testdir/test_vimscript.vim
parent129012172258a08efa87cbab927cdd3e4da7db90 (diff)
parent7b6d041baed712b071acfa8bb71727a5f5e27561 (diff)
downloadrneovim-3287fc2ba9284d48e945ab0008b7844e1ec40eec.tar.gz
rneovim-3287fc2ba9284d48e945ab0008b7844e1ec40eec.tar.bz2
rneovim-3287fc2ba9284d48e945ab0008b7844e1ec40eec.zip
Merge pull request #23386 from zeertzjq/vim-8.2.0551
vim-patch:8.2.{0551,0578,0672}: heredoc for interfaces does not support "trim"
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
"-------------------------------------------------------------------------------