diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-08 21:51:41 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-08 21:51:41 +0200 |
commit | f92e58cadb03156879e9bdbf6341bf662d9c87cc (patch) | |
tree | 13bdd750b1d0c9db7f2267d2300eba24f6560619 /src/testdir/test_execute_func.vim | |
parent | 7ee80f766130f22598c928415c92ec612a8f18cf (diff) | |
download | vim-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_execute_func.vim')
-rw-r--r-- | src/testdir/test_execute_func.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_execute_func.vim b/src/testdir/test_execute_func.vim index f3d7e3730..f81a86b6a 100644 --- a/src/testdir/test_execute_func.vim +++ b/src/testdir/test_execute_func.vim @@ -91,7 +91,7 @@ func Test_win_execute() if has('textprop') let popupwin = popup_create('the popup win', {'line': 2, 'col': 3}) redraw - let line = win_execute(popupwin, 'echo getline(1)') + let line = 'echo getline(1)'->win_execute(popupwin) call assert_match('the popup win', line) call popup_close(popupwin) |