diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-08 18:58:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-08 18:58:44 +0200 |
commit | ce90e36f5969e733a0a919f1736453332c33aad6 (patch) | |
tree | 37daa5ee577157e5fd0557b2044022ece6416c11 /src/testdir/test_options.vim | |
parent | 9490b9a61cf1f1f3fa9758663a33124ea9f71c87 (diff) | |
download | vim-git-ce90e36f5969e733a0a919f1736453332c33aad6.tar.gz |
patch 8.1.2011: more functions can be used as methodsv8.1.2011
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method. Make the window
command test faster.
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 5d5723cca..3a4335650 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -510,7 +510,7 @@ func Test_shortmess_F2() call assert_true(empty(execute('bn', ''))) call assert_false(test_getvalue('need_fileinfo')) call assert_true(empty(execute('bn', ''))) - call assert_false(test_getvalue('need_fileinfo')) + call assert_false('need_fileinfo'->test_getvalue()) set hidden call assert_true(empty(execute('bn', ''))) call assert_false(test_getvalue('need_fileinfo')) |