From 02b31110d31e995326080807716e79e38fe501df Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 31 Aug 2019 22:16:38 +0200 Subject: patch 8.1.1954: more functions can be used as a method Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method. --- src/testdir/test_arglist.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_arglist.vim') 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()) -- cgit v1.2.3