diff options
| author | Sean Dewar <seandewar@users.noreply.github.com> | 2022-02-06 00:02:30 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-06 00:02:30 +0000 |
| commit | 28d5face21748bbd7b116a1e57bffb535dba392a (patch) | |
| tree | ffc38efe0a232839dc901877cdaa97a2a85f5770 /src/nvim/testdir/test_eval_stuff.vim | |
| parent | b17f1e6fe86ae44676647ef939b361f54d95cd4d (diff) | |
| parent | 8adbba7ac38d7a0b4e1f602f6522b9403c11fc7e (diff) | |
| download | rneovim-28d5face21748bbd7b116a1e57bffb535dba392a.tar.gz rneovim-28d5face21748bbd7b116a1e57bffb535dba392a.tar.bz2 rneovim-28d5face21748bbd7b116a1e57bffb535dba392a.zip | |
Merge pull request #16862 from seandewar/vim-8.2.2658
vim-patch:8.2.{2658,2661,2736}: for loop over strings
Diffstat (limited to 'src/nvim/testdir/test_eval_stuff.vim')
| -rw-r--r-- | src/nvim/testdir/test_eval_stuff.vim | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim index 883ba5de3d..95eccde35c 100644 --- a/src/nvim/testdir/test_eval_stuff.vim +++ b/src/nvim/testdir/test_eval_stuff.vim @@ -65,11 +65,9 @@ func Test_E963() endfunc func Test_for_invalid() - " Vim gives incorrect emsg here until v8.2.3284, but the exact emsg from that - " patch cannot be used until v8.2.2658 is ported (for loop over Strings) - call assert_fails("for x in 99", 'E897:') - call assert_fails("for x in function('winnr')", 'E897:') - call assert_fails("for x in {'a': 9}", 'E897:') + call assert_fails("for x in 99", 'E1098:') + call assert_fails("for x in function('winnr')", 'E1098:') + call assert_fails("for x in {'a': 9}", 'E1098:') if 0 /1/5/2/s/\n |