summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vim9_cmd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-05 15:32:17 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-05 15:32:17 +0200
commit788123c00c4b7acc4e6ba3e9f1cc8b175ae9aae8 (patch)
tree40e46b4b57d58123aa92d26b087cb9da9fb46699 /src/testdir/test_vim9_cmd.vim
parente9f262bdff2defa248e5d40b6520251799581ea4 (diff)
patch 8.2.1130: Vim9: bar not recognized after function callv8.2.1130
Problem: Vim9: bar not recognized after function call Solution: Skip whitespace. (closes #6391)
Diffstat (limited to 'src/testdir/test_vim9_cmd.vim')
-rw-r--r--src/testdir/test_vim9_cmd.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim
index 53d964fa8b..d7c01aae97 100644
--- a/src/testdir/test_vim9_cmd.vim
+++ b/src/testdir/test_vim9_cmd.vim
@@ -216,6 +216,13 @@ def Test_bar_after_command()
RedrawAndEcho()
assert_match('did redraw', Screenline(&lines))
+ def CallAndEcho()
+ let x = 'did redraw'
+ reg_executing() | echo x
+ enddef
+ CallAndEcho()
+ assert_match('did redraw', Screenline(&lines))
+
if has('unix')
# bar in filter write command does not start new command
def WriteToShell()