mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.4892: test failures because of changed error messages
Problem: Test failures because of changed error messages.
Solution: Adjust the exptected error messages.
ec89223478
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
88cfb49bee
commit
15c502d8be
@ -141,7 +141,7 @@ func Test_source_sfile()
|
||||
if RunVim([], [], '--clean -s Xscript')
|
||||
call assert_equal([
|
||||
\ 'E1274: No script file name to substitute for "<script>"',
|
||||
\ 'E498: no :source file name to substitute for "<sfile>"'],
|
||||
\ 'E498: No :source file name to substitute for "<sfile>"'],
|
||||
\ readfile('Xresult'))
|
||||
endif
|
||||
call delete('Xscript')
|
||||
|
@ -3087,7 +3087,7 @@ func Test_nested_if_else_errors()
|
||||
endif
|
||||
END
|
||||
call writefile(code, 'Xtest')
|
||||
call AssertException(['source Xtest'], 'Vim(else):E583: multiple :else')
|
||||
call AssertException(['source Xtest'], 'Vim(else):E583: Multiple :else')
|
||||
|
||||
" :elseif after :else
|
||||
let code =<< trim END
|
||||
|
Loading…
Reference in New Issue
Block a user