summaryrefslogtreecommitdiff
path: root/src/testdir/test_arglist.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-31 22:16:38 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-31 22:16:38 +0200
commit02b31110d31e995326080807716e79e38fe501df (patch)
tree92f977aa56adfe694332975d171d098422e024e8 /src/testdir/test_arglist.vim
parentf9f24ce7a0e5988fedf2e2ff751818f9b07510a6 (diff)
downloadvim-git-02b31110d31e995326080807716e79e38fe501df.tar.gz
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.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim
index daed3d421..c486b18e2 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())