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_messages.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_messages.vim')
-rw-r--r-- | src/testdir/test_messages.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_messages.vim b/src/testdir/test_messages.vim index f122917ba..bcfcdd240 100644 --- a/src/testdir/test_messages.vim +++ b/src/testdir/test_messages.vim @@ -90,7 +90,7 @@ func Test_echoerr() if has('float') call assert_equal("\n1.23 IgNoRe", execute(':echoerr 1.23 "IgNoRe"')) endif - call test_ignore_error('<lambda>') + eval '<lambda>'->test_ignore_error() call assert_match("function('<lambda>\\d*')", execute(':echoerr {-> 1234}')) call test_ignore_error('RESET') endfunc |