diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-29 18:02:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-29 18:02:43 -0500 |
| commit | ad98b84008586a1863e8b05b3db6d2c6c7ad4db8 (patch) | |
| tree | 836ddf9beab731ee4bf72cb914f115ebbe5ef139 /src/nvim/testdir/test_eval_stuff.vim | |
| parent | 8950f4e94af1534852cab5f41066d7c21330bd64 (diff) | |
| parent | 1376994f1556b51d6a4feaedc094ee2456db5d06 (diff) | |
| download | rneovim-ad98b84008586a1863e8b05b3db6d2c6c7ad4db8.tar.gz rneovim-ad98b84008586a1863e8b05b3db6d2c6c7ad4db8.tar.bz2 rneovim-ad98b84008586a1863e8b05b3db6d2c6c7ad4db8.zip | |
Merge pull request #13833 from janlazo/vim-8.2.2412
vim-patch:8.2.{2412,2418,2420,2425}
Diffstat (limited to 'src/nvim/testdir/test_eval_stuff.vim')
| -rw-r--r-- | src/nvim/testdir/test_eval_stuff.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim index 061364fb73..ff50d53d86 100644 --- a/src/nvim/testdir/test_eval_stuff.vim +++ b/src/nvim/testdir/test_eval_stuff.vim @@ -22,6 +22,17 @@ func Test_E963() call assert_equal(v_o, v:oldfiles) 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 {'a': 9}", 'E714:') + + if 0 + /1/5/2/s/\n + endif + redraw +endfunc + func Test_mkdir_p() call mkdir('Xmkdir/nested', 'p') call assert_true(isdirectory('Xmkdir/nested')) |