summaryrefslogtreecommitdiff
path: root/src/testdir/test_assert.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-08 18:58:44 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-08 18:58:44 +0200
commitce90e36f5969e733a0a919f1736453332c33aad6 (patch)
tree37daa5ee577157e5fd0557b2044022ece6416c11 /src/testdir/test_assert.vim
parent9490b9a61cf1f1f3fa9758663a33124ea9f71c87 (diff)
downloadvim-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_assert.vim')
-rw-r--r--src/testdir/test_assert.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_assert.vim b/src/testdir/test_assert.vim
index d89bd983a..1b1f9e515 100644
--- a/src/testdir/test_assert.vim
+++ b/src/testdir/test_assert.vim
@@ -259,7 +259,7 @@ endfunc
func Test_override()
call test_override('char_avail', 1)
- call test_override('redraw', 1)
+ eval 1->test_override('redraw')
call test_override('ALL', 0)
call assert_fails("call test_override('xxx', 1)", 'E475')
call assert_fails("call test_override('redraw', 'yes')", 'E474')