summaryrefslogtreecommitdiff
path: root/src/testdir/test_fnameescape.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-24 20:50:19 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-24 20:50:19 +0200
commita4208966fb289a505ebdef62bbc37c214069bab4 (patch)
tree97ec3983559c99f47bdb9213f96a95f403af35f0 /src/testdir/test_fnameescape.vim
parentf63962378dc32c7253e4825b4b0f414a81c1dd3e (diff)
downloadvim-git-a4208966fb289a505ebdef62bbc37c214069bab4.tar.gz
patch 8.1.1921: more functions can be used as methodsv8.1.1921
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_fnameescape.vim')
-rw-r--r--src/testdir/test_fnameescape.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_fnameescape.vim b/src/testdir/test_fnameescape.vim
index 5382b89aa..b0fdb3a03 100644
--- a/src/testdir/test_fnameescape.vim
+++ b/src/testdir/test_fnameescape.vim
@@ -13,7 +13,7 @@ func Test_fnameescape()
let fname = 'Xemark!'
let status = v:false
try
- exe "w! " . fnameescape(fname)
+ exe "w! " . fname->fnameescape()
let status = v:true
endtry
call assert_true(status, "ExclamationMark")