diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-23 22:31:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-23 22:31:37 +0200 |
commit | 1a3a89168d61c2fed91cbca812cf1c6983901b79 (patch) | |
tree | a28bb59bc78f9832066fe00c551eefaafc4b8daa /src/testdir/test_cd.vim | |
parent | d019039ccd7cbeae8923db20383a241d7fc77e2c (diff) | |
download | vim-git-1a3a89168d61c2fed91cbca812cf1c6983901b79.tar.gz |
patch 8.1.1915: more functions can be used as methodsv8.1.1915
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 31859542e..e0dedfbf0 100644 --- a/src/testdir/test_cd.vim +++ b/src/testdir/test_cd.vim @@ -85,7 +85,7 @@ func Test_chdir_func() call assert_equal('y', fnamemodify(getcwd(1, 2), ':t')) call assert_equal('z', fnamemodify(getcwd(3, 2), ':t')) tabnext | wincmd t - call chdir('..') + eval '..'->chdir() call assert_equal('Xdir', fnamemodify(getcwd(1, 2), ':t')) call assert_equal('Xdir', fnamemodify(getcwd(2, 2), ':t')) call assert_equal('z', fnamemodify(getcwd(3, 2), ':t')) |