aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2022-01-01 08:07:13 +0000
committerSean Dewar <seandewar@users.noreply.github.com>2022-02-05 19:55:17 +0000
commit8adbba7ac38d7a0b4e1f602f6522b9403c11fc7e (patch)
treeea54f4cbb525ee50926add414c1d903e8495b513 /src/nvim/testdir
parent83a48d7a44c69a8b159bdcf90029005f2f4a8de5 (diff)
downloadrneovim-8adbba7ac38d7a0b4e1f602f6522b9403c11fc7e.tar.gz
rneovim-8adbba7ac38d7a0b4e1f602f6522b9403c11fc7e.tar.bz2
rneovim-8adbba7ac38d7a0b4e1f602f6522b9403c11fc7e.zip
feat(eval): port emsg from v8.2.3284
https://github.com/vim/vim/commit/80d7395dcfe96158428da6bb3d28a6eee1244e28
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_eval_stuff.vim8
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