summaryrefslogtreecommitdiff
path: root/src/testdir/test_undo.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-08 21:51:41 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-08 21:51:41 +0200
commitf92e58cadb03156879e9bdbf6341bf662d9c87cc (patch)
tree13bdd750b1d0c9db7f2267d2300eba24f6560619 /src/testdir/test_undo.vim
parent7ee80f766130f22598c928415c92ec612a8f18cf (diff)
downloadvim-git-f92e58cadb03156879e9bdbf6341bf662d9c87cc.tar.gz
patch 8.1.2013: more functions can be used as methodsv8.1.2013
Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_undo.vim')
-rw-r--r--src/testdir/test_undo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index 5154b20b3..c42427306 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -456,7 +456,7 @@ funct Test_undofile()
call delete('Xundodir', 'd')
" Test undofile() with 'undodir' set to a non-existing directory.
- call assert_equal('', undofile('Xundofoo'))
+ call assert_equal('', 'Xundofoo'->undofile())
if isdirectory('/tmp')
set undodir=/tmp