aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cd.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-12-07 01:14:21 -0500
committerGitHub <noreply@github.com>2021-12-07 01:14:21 -0500
commitafaad8b54ebd2ad4ba2145f4069f5017cace3c8f (patch)
tree462cb857957f22fa3f8111d766c27907aebb19b4 /src/nvim/testdir/test_cd.vim
parentbf9e8a9df90941320ed898ac4c6351b78366a0a8 (diff)
parent6e3e8c51c0919df4d407b323d0e9237c278e2c23 (diff)
downloadrneovim-afaad8b54ebd2ad4ba2145f4069f5017cace3c8f.tar.gz
rneovim-afaad8b54ebd2ad4ba2145f4069f5017cace3c8f.tar.bz2
rneovim-afaad8b54ebd2ad4ba2145f4069f5017cace3c8f.zip
Merge pull request #16194 from seandewar/vim-8.1.1925
vim-patch:7.4.1777,8.1.{1925,1995,2011,2012,2013,2166},8.2.{0532,0871,1168,1241,3576}
Diffstat (limited to 'src/nvim/testdir/test_cd.vim')
-rw-r--r--src/nvim/testdir/test_cd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_cd.vim b/src/nvim/testdir/test_cd.vim
index 57db0a2544..76a2620be0 100644
--- a/src/nvim/testdir/test_cd.vim
+++ b/src/nvim/testdir/test_cd.vim
@@ -101,7 +101,7 @@ func Test_chdir_func()
call assert_match('^\[global\] .*/Xdir$', trim(execute('verbose pwd')))
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
call assert_match('^\[tabpage\] .*/y$', trim(execute('verbose pwd')))
call chdir('..')