diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-31 22:16:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-31 22:16:38 +0200 |
commit | 02b31110d31e995326080807716e79e38fe501df (patch) | |
tree | 92f977aa56adfe694332975d171d098422e024e8 /src/testdir/test_arglist.vim | |
parent | f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 (diff) |
patch 8.1.1954: more functions can be used as a methodv8.1.1954
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_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index daed3d4218..c486b18e2f 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -88,7 +88,7 @@ func Test_argadd_empty_curbuf() argadd Xargadd call assert_equal(curbuf, bufnr('%')) call assert_equal('', bufname('%')) - call assert_equal(1, line('$')) + call assert_equal(1, '$'->line()) rew call assert_notequal(curbuf, '%'->bufnr()) call assert_equal('Xargadd', '%'->bufname()) |