diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-24 20:50:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-24 20:50:19 +0200 |
commit | a4208966fb289a505ebdef62bbc37c214069bab4 (patch) | |
tree | 97ec3983559c99f47bdb9213f96a95f403af35f0 /src/testdir/test_fnamemodify.vim | |
parent | f63962378dc32c7253e4825b4b0f414a81c1dd3e (diff) | |
download | vim-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_fnamemodify.vim')
-rw-r--r-- | src/testdir/test_fnamemodify.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_fnamemodify.vim b/src/testdir/test_fnamemodify.vim index 63f273677..fd5f1efb8 100644 --- a/src/testdir/test_fnamemodify.vim +++ b/src/testdir/test_fnamemodify.vim @@ -13,7 +13,7 @@ func Test_fnamemodify() call assert_equal('a', fnamemodify('../testdir/a', ':.')) call assert_equal('~/testdir/test.out', fnamemodify('test.out', ':~')) call assert_equal('~/testdir/a', fnamemodify('../testdir/a', ':~')) - call assert_equal('a', fnamemodify('../testdir/a', ':t')) + call assert_equal('a', '../testdir/a'->fnamemodify(':t')) call assert_equal('', fnamemodify('.', ':p:t')) call assert_equal('test.out', fnamemodify('test.out', ':p:t')) call assert_equal('out', fnamemodify('test.out', ':p:e')) |