From aad222c9c9a1e4fe6ae5a1fe95bb084619be0e65 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 6 Sep 2019 22:46:09 +0200 Subject: patch 8.1.1996: 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_expr.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testdir/test_expr.vim') diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index 9f4373278..110cecb60 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -504,7 +504,7 @@ func Test_setmatches() let set[0]['conceal'] = 5 let exp[0]['conceal'] = '5' endif - call setmatches(set) + eval set->setmatches() call assert_equal(exp, getmatches()) endfunc -- cgit v1.2.1