diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-27 05:57:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 05:57:07 +0800 |
commit | fef8ff90887ff16345469d93b64a2a351d9e85ee (patch) | |
tree | e0a6ea84d87d1dbcd832c5576f9208a1eb00239f /src/nvim/testdir/test_source.vim | |
parent | a8d454816ad14e05578d37d1e16c34d8207fde19 (diff) | |
parent | 514e6bf07b6b0fe08019906b56d1226a70d14119 (diff) | |
download | rneovim-fef8ff90887ff16345469d93b64a2a351d9e85ee.tar.gz rneovim-fef8ff90887ff16345469d93b64a2a351d9e85ee.tar.bz2 rneovim-fef8ff90887ff16345469d93b64a2a351d9e85ee.zip |
Merge pull request #20818 from zeertzjq/vim-8.2.0531
vim-patch:8.2.{0531,0534,0606,1113}: various tests
Diffstat (limited to 'src/nvim/testdir/test_source.vim')
-rw-r--r-- | src/nvim/testdir/test_source.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_source.vim b/src/nvim/testdir/test_source.vim index ba6fd5ad95..0fd923abf2 100644 --- a/src/nvim/testdir/test_source.vim +++ b/src/nvim/testdir/test_source.vim @@ -87,4 +87,10 @@ func Test_source_autocmd_sfile() call delete('Xscript.vim') endfunc +func Test_source_error() + call assert_fails('scriptencoding utf-8', 'E167:') + call assert_fails('finish', 'E168:') + " call assert_fails('scriptversion 2', 'E984:') +endfunc + " vim: shiftwidth=2 sts=2 expandtab |