diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-26 18:55:10 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-26 21:09:16 -0400 |
commit | 31e2546cc908aa17aa68f7812eec5d4f08fbbc55 (patch) | |
tree | e2f1c23acbed8a65ea47c09ae838b3c0444dd093 | |
parent | f0ace6d419380907b719edd2ea1d2256e92beb84 (diff) | |
download | rneovim-31e2546cc908aa17aa68f7812eec5d4f08fbbc55.tar.gz rneovim-31e2546cc908aa17aa68f7812eec5d4f08fbbc55.tar.bz2 rneovim-31e2546cc908aa17aa68f7812eec5d4f08fbbc55.zip |
vim-patch:8.2.2659: eval test fails because for loop on string works
Problem: Eval test fails because for loop on string works.
Solution: Check looping over function reference fails.
https://github.com/vim/vim/commit/c61cb8bfe1ec2cc50e6edd195cae2a3cd93d6590
-rw-r--r-- | src/nvim/testdir/test_eval_stuff.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim index ff50d53d86..73b57f302e 100644 --- a/src/nvim/testdir/test_eval_stuff.vim +++ b/src/nvim/testdir/test_eval_stuff.vim @@ -24,7 +24,7 @@ endfunc func Test_for_invalid() call assert_fails("for x in 99", 'E714:') - call assert_fails("for x in 'asdf'", 'E714:') + call assert_fails("for x in function('winnr')", 'E714:') call assert_fails("for x in {'a': 9}", 'E714:') if 0 |