diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-04 15:53:01 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-04 15:53:01 +0200 |
commit | 6a25026262e2cdbbd8738361c5bd6ebef8862d87 (patch) | |
tree | 9def77d5050aeedbb4f9a9a48364fd129b2426c0 /src/testdir | |
parent | f96e9dec636d7d105b015680d8c5d6b47d936e01 (diff) | |
download | vim-git-6a25026262e2cdbbd8738361c5bd6ebef8862d87.tar.gz |
patch 8.2.1361: error for white space after expression in assignmentv8.2.1361
Problem: Error for white space after expression in assignment.
Solution: Skip over white space. (closes #6617)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_expr.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index b13154304..b4eeea653 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -55,6 +55,9 @@ func Test_dict() let d['a'] = 'aaa' call assert_equal('none', d['']) call assert_equal('aaa', d['a']) + + let d[ 'b' ] = 'bbb' + call assert_equal('bbb', d[ 'b' ]) endfunc func Test_strgetchar() |