comparison src/testdir/test_source.vim @ 19950:9cbe3a4f1492 v8.2.0531

patch 8.2.0531: various errors not tested Commit: https://github.com/vim/vim/commit/476a613135bdc94e61c1dce8a9cbb4ab0b6dc2d1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 8 19:48:56 2020 +0200 patch 8.2.0531: various errors not tested Problem: Various errors not tested. Solution: Add tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5895)
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Apr 2020 20:00:04 +0200
parents 67fbe280a502
children c2a234e8c896
comparison
equal deleted inserted replaced
19949:313b448185bc 19950:9cbe3a4f1492
85 call assert_equal('7', g:Slnum) 85 call assert_equal('7', g:Slnum)
86 call assert_equal('8', g:Sflnum) 86 call assert_equal('8', g:Sflnum)
87 call delete('Xscript.vim') 87 call delete('Xscript.vim')
88 endfunc 88 endfunc
89 89
90 func Test_source_error()
91 call assert_fails('scriptencoding utf-8', 'E167:')
92 call assert_fails('finish', 'E168:')
93 call assert_fails('scriptversion 2', 'E984:')
94 endfunc
95
90 " vim: shiftwidth=2 sts=2 expandtab 96 " vim: shiftwidth=2 sts=2 expandtab