diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-24 22:58:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-24 22:58:31 +0200 |
commit | 4c313b13fb7bfa694ec6d2a13175e8650c007b2a (patch) | |
tree | 36db216d522e889c7d86027dfa69f8d5a686c2ed /src/testdir/test_changelist.vim | |
parent | a8eee21e75324d199acb1663cb5009e03014a13a (diff) | |
download | vim-git-4c313b13fb7bfa694ec6d2a13175e8650c007b2a.tar.gz |
patch 8.1.1925: more functions can be used as methodsv8.1.1925
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_changelist.vim')
-rw-r--r-- | src/testdir/test_changelist.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_changelist.vim b/src/testdir/test_changelist.vim index dd6ea9600..ce77c1f3c 100644 --- a/src/testdir/test_changelist.vim +++ b/src/testdir/test_changelist.vim @@ -8,8 +8,8 @@ func Test_getchangelist() bwipe! enew - call assert_equal([], getchangelist(10)) - call assert_equal([[], 0], getchangelist('%')) + call assert_equal([], 10->getchangelist()) + call assert_equal([[], 0], getchangelist()) call writefile(['line1', 'line2', 'line3'], 'Xfile1.txt') call writefile(['line1', 'line2', 'line3'], 'Xfile2.txt') |