0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.3832: test fails because of changed error message

Problem:    Test fails because of changed error message.
Solution:   Adjust the expected error message.
This commit is contained in:
Bram Moolenaar
2021-12-16 21:11:26 +00:00
parent 23e72369ff
commit 994a0a298b
2 changed files with 4 additions and 2 deletions

View File

@@ -5572,8 +5572,8 @@ func Test_expr_eval_error_msg()
call T(21, '(1 +) + CONT(21)', 'E15', "Invalid expression")
call T(22, '1 2 + CONT(22)', 'E488', "Trailing characters: 2 +")
call T(23, '(1 ? 2) + CONT(23)', 'E109', "Missing ':' after '?'")
call T(24, '("abc) + CONT(24)', 'E114', "Missing quote")
call T(25, "('abc) + CONT(25)", 'E115', "Missing quote")
call T(24, '("abc) + CONT(24)', 'E114', "Missing double quote")
call T(25, "('abc) + CONT(25)", 'E115', "Missing single quote")
call T(26, '& + CONT(26)', 'E112', "Option name missing")
call T(27, '&asdf + CONT(27)', 'E113', "Unknown option")