diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-18 23:01:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-18 23:01:56 +0200 |
commit | 073e4b92e613d22ce7b16e0fbf5c0e40cb5f9b2c (patch) | |
tree | 627a153c9bb3076e512a6b0209227b66d5255ce5 /src/testdir/test_arglist.vim | |
parent | 0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a (diff) |
patch 8.1.1888: more functions can be used as methodsv8.1.1888
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index fc086fa434..a382a1a549 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -90,8 +90,8 @@ func Test_argadd_empty_curbuf() call assert_equal('', bufname('%')) call assert_equal(1, line('$')) rew - call assert_notequal(curbuf, bufnr('%')) - call assert_equal('Xargadd', bufname('%')) + call assert_notequal(curbuf, '%'->bufnr()) + call assert_equal('Xargadd', '%'->bufname()) call assert_equal(2, line('$')) call delete('Xargadd') |