diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-01 17:48:19 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-26 18:53:11 +0000 |
commit | 60f0e1858870849fa5d6ed56ea40dc0183fab77d (patch) | |
tree | 2cfb66489f544afea2fb490b419ef0c36a108af5 /src/nvim/testdir | |
parent | f37f08314dd1dfbf5f6526c70802763ce86202ef (diff) | |
download | rneovim-60f0e1858870849fa5d6ed56ea40dc0183fab77d.tar.gz rneovim-60f0e1858870849fa5d6ed56ea40dc0183fab77d.tar.bz2 rneovim-60f0e1858870849fa5d6ed56ea40dc0183fab77d.zip |
vim-patch:8.2.0532: cannot use simplify() as a method
Problem: Cannot use simplify() as a method.
Solution: Add FEARG_1. (closes vim/vim#5996)
https://github.com/vim/vim/commit/7035fd9d909c49cf5105a53753c1772c193d05b8
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_functions.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index c450ac50d4..0edbeb420a 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -319,7 +319,7 @@ func Test_simplify() call assert_equal('/', simplify('/.')) call assert_equal('/', simplify('/..')) call assert_equal('/...', simplify('/...')) - call assert_equal('./dir/file', simplify('./dir/file')) + call assert_equal('./dir/file', './dir/file'->simplify()) call assert_equal('./dir/file', simplify('.///dir//file')) call assert_equal('./dir/file', simplify('./dir/./file')) call assert_equal('./file', simplify('./dir/../file')) |