Mercurial > vim
diff src/testdir/test_textprop.vim @ 21552:cbc570e66d11 v8.2.1326
patch 8.2.1326: Vim9: skipping over white space after list
Commit: https://github.com/vim/vim/commit/9d489566815d7913afc5dfc2a772bacede3970fb
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 30 20:08:50 2020 +0200
patch 8.2.1326: Vim9: skipping over white space after list
Problem: Vim9: skipping over white space after list.
Solution: Do not skip white space, a following [] would be misinterpreted.
(closes #6552) Fix a few side effects.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Jul 2020 20:15:05 +0200 |
parents | 6a4806e326dd |
children | 35c8996a798e |
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim +++ b/src/testdir/test_textprop.vim @@ -1219,7 +1219,7 @@ func Test_prop_func_invalid_args() call assert_fails('call prop_find({}, "x")', 'E474:') call assert_fails('call prop_find({"lnum" : -2})', 'E16:') call assert_fails('call prop_list(1, [])', 'E715:') - call assert_fails('call prop_list(-1 , {})', 'E16:') + call assert_fails('call prop_list(-1, {})', 'E16:') call assert_fails('call prop_remove([])', 'E474:') call assert_fails('call prop_remove({}, -2)', 'E16:') call assert_fails('call prop_remove({})', 'E968:')