aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-05-31 06:10:30 +0800
committerGitHub <noreply@github.com>2024-05-31 06:10:30 +0800
commit88fe467b194f21cace92109dffc68e8b1362be3e (patch)
treea64ec7e199444fa8138698c832775a9ebeaf71c0 /test
parent783f6079b824539bdc4a168ecfebddab474b2924 (diff)
parent2de12e9bd7fe72eb4656a3c0f689caf6ce971451 (diff)
downloadrneovim-88fe467b194f21cace92109dffc68e8b1362be3e.tar.gz
rneovim-88fe467b194f21cace92109dffc68e8b1362be3e.tar.bz2
rneovim-88fe467b194f21cace92109dffc68e8b1362be3e.zip
Merge pull request #29102 from zeertzjq/vim-9.1.0449
vim-patch:9.1.{0449,0451}
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_shell.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/old/testdir/test_shell.vim b/test/old/testdir/test_shell.vim
index baaa327965..c2320d8f39 100644
--- a/test/old/testdir/test_shell.vim
+++ b/test/old/testdir/test_shell.vim
@@ -119,6 +119,10 @@ func Test_shellescape()
call assert_equal("'te\\#xt'", shellescape("te#xt", 1))
call assert_equal("'te!xt'", shellescape("te!xt"))
call assert_equal("'te\\!xt'", shellescape("te!xt", 1))
+ call assert_equal("'te<cword>xt'", shellescape("te<cword>xt"))
+ call assert_equal("'te\\<cword>xt'", shellescape("te<cword>xt", 1))
+ call assert_equal("'te<cword>%xt'", shellescape("te<cword>%xt"))
+ call assert_equal("'te\\<cword>\\%xt'", shellescape("te<cword>%xt", 1))
call assert_equal("'te\nxt'", shellescape("te\nxt"))
call assert_equal("'te\\\nxt'", shellescape("te\nxt", 1))