diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-06 22:46:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-06 22:46:09 +0200 |
commit | aad222c9c9a1e4fe6ae5a1fe95bb084619be0e65 (patch) | |
tree | e889d984a59e0e3f88be9e7bc4bed27b233c0442 /src/testdir/test_functions.vim | |
parent | 93476fd6343ef40d088e064289cc279659d03953 (diff) | |
download | vim-git-aad222c9c9a1e4fe6ae5a1fe95bb084619be0e65.tar.gz |
patch 8.1.1996: more functions can be used as methodsv8.1.1996
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_functions.vim')
-rw-r--r-- | src/testdir/test_functions.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim index 1d8d74ddb..3588c767a 100644 --- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -1180,7 +1180,7 @@ func Test_shellescape() let save_shell = &shell set shell=bash call assert_equal("'text'", shellescape('text')) - call assert_equal("'te\"xt'", shellescape('te"xt')) + call assert_equal("'te\"xt'", 'te"xt'->shellescape()) call assert_equal("'te'\\''xt'", shellescape("te'xt")) call assert_equal("'te%xt'", shellescape("te%xt")) |