From 073e4b92e613d22ce7b16e0fbf5c0e40cb5f9b2c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 18 Aug 2019 23:01:56 +0200 Subject: patch 8.1.1888: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. --- src/testdir/test_arglist.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testdir/test_arglist.vim') 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') -- cgit v1.2.3