diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-31 21:17:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-31 21:17:39 +0200 |
commit | f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 (patch) | |
tree | af3ede78a2dedfa82536fb134d22dbe6c9a5033c /src/testdir/test_delete.vim | |
parent | 5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3 (diff) | |
download | vim-git-f9f24ce7a0e5988fedf2e2ff751818f9b07510a6.tar.gz |
patch 8.1.1953: more functions can be used as a methodv8.1.1953
Problem: More functions can be used as a method.
Solution: Allow more functions to be used as a method.
Diffstat (limited to 'src/testdir/test_delete.vim')
-rw-r--r-- | src/testdir/test_delete.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_delete.vim b/src/testdir/test_delete.vim index b3e153e5b..0ab516489 100644 --- a/src/testdir/test_delete.vim +++ b/src/testdir/test_delete.vim @@ -32,7 +32,7 @@ func Test_recursive_delete() call assert_equal(['a', 'b'], readfile('Xdir1/Xfile')) call assert_true(isdirectory('Xdir1/subdir')) call assert_equal(['a', 'b'], readfile('Xdir1/subdir/Xfile')) - call assert_true(isdirectory('Xdir1/empty')) + call assert_true('Xdir1/empty'->isdirectory()) call assert_equal(0, delete('Xdir1', 'rf')) call assert_false(isdirectory('Xdir1')) call assert_equal(-1, delete('Xdir1', 'd')) |