]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.3832: test fails because of changed error message v8.2.3832
authorBram Moolenaar <Bram@vim.org>
Thu, 16 Dec 2021 21:11:26 +0000 (21:11 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 16 Dec 2021 21:11:26 +0000 (21:11 +0000)
Problem:    Test fails because of changed error message.
Solution:   Adjust the expected error message.

src/testdir/test_vimscript.vim
src/version.c

index 51ef2fc17902cd4298abe98444146fc420172459..3cd42d01c27037669a2d0ab453be9ab6178e40c0 100644 (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")
 
index e908b63dbddf1dfb3dcf8f1233ed7260e38a569c..e3fb7c2ffbe7530400007904710d996d436dc82f 100644 (file)
@@ -749,6 +749,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3832,
 /**/
     3831,
 /**/