diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-24 22:58:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-24 22:58:31 +0200 |
commit | 4c313b13fb7bfa694ec6d2a13175e8650c007b2a (patch) | |
tree | 36db216d522e889c7d86027dfa69f8d5a686c2ed /src/testdir/test_cd.vim | |
parent | a8eee21e75324d199acb1663cb5009e03014a13a (diff) |
patch 8.1.1925: more functions can be used as methodsv8.1.1925
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_cd.vim')
-rw-r--r-- | src/testdir/test_cd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_cd.vim b/src/testdir/test_cd.vim index e0dedfbf08..c3589b45f0 100644 --- a/src/testdir/test_cd.vim +++ b/src/testdir/test_cd.vim @@ -83,7 +83,7 @@ func Test_chdir_func() tabfirst call chdir('..') call assert_equal('y', fnamemodify(getcwd(1, 2), ':t')) - call assert_equal('z', fnamemodify(getcwd(3, 2), ':t')) + call assert_equal('z', fnamemodify(3->getcwd(2), ':t')) tabnext | wincmd t eval '..'->chdir() call assert_equal('Xdir', fnamemodify(getcwd(1, 2), ':t')) |