diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-12 14:51:16 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-12 14:51:16 +0000 |
commit | d0b7bfa95798f5ec743d8afffbffb83aeac823da (patch) | |
tree | 61f205c552d192530301813912bc400ed8f28fb6 /src/testdir | |
parent | bbf84e2737daf3479e059dc7e7da0c50a07a4bf4 (diff) |
patch 8.2.4552: in a :def function "put = expr" does not workv8.2.4552
Problem: In a :def function "put = expr" does not work.
Solution: Skip over white space. (closes #9936)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_vim9_cmd.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim index 92b834cb24..47b6f779cb 100644 --- a/src/testdir/test_vim9_cmd.vim +++ b/src/testdir/test_vim9_cmd.vim @@ -1217,7 +1217,7 @@ def Test_put_command() :2put =['a', 'b', 'c'] assert_equal(['ppp', 'a', 'b', 'c', 'above'], getline(2, 6)) - :0put ='first' + :0put = 'first' assert_equal('first', getline(1)) :1put! ='first again' assert_equal('first again', getline(1)) |