diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-04 22:29:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-04 22:29:14 +0200 |
commit | a0d1fef4ebb693696464c5e22e33269f724b8e0e (patch) | |
tree | 4c29126b625309533e0b6f0423ce4b66bae392b8 /src/testdir/test_eval_stuff.vim | |
parent | a5a7882ea4a21944924b778208e1d54734891033 (diff) | |
download | vim-git-a0d1fef4ebb693696464c5e22e33269f724b8e0e.tar.gz |
patch 8.1.1987: more functions can be used as methodsv8.1.1987
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_eval_stuff.vim')
-rw-r--r-- | src/testdir/test_eval_stuff.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_eval_stuff.vim b/src/testdir/test_eval_stuff.vim index 82f9cac24..b518f5ae6 100644 --- a/src/testdir/test_eval_stuff.vim +++ b/src/testdir/test_eval_stuff.vim @@ -75,7 +75,7 @@ func Test_readfile_binary() call setline(1, ['one', 'two', 'three']) setlocal ff=dos write XReadfile - let lines = readfile('XReadfile') + let lines = 'XReadfile'->readfile() call assert_equal(['one', 'two', 'three'], lines) let lines = readfile('XReadfile', '', 2) call assert_equal(['one', 'two'], lines) |