]> granicus.if.org Git - vim/commitdiff
patch 8.0.0491: quotestar test fails when features are missing v8.0.0491
authorBram Moolenaar <Bram@vim.org>
Sun, 19 Mar 2017 20:01:14 +0000 (21:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 19 Mar 2017 20:01:14 +0000 (21:01 +0100)
Problem:    The quotestar test fails when a required feature is missing.
Solution:   Prepend "Skipped" to the thrown exception.

src/testdir/test_quotestar.vim
src/version.c

index 300a964731f3106575fc7330449634fd98b1720f..111a226b659743df90263983b3a181deb41a18af 100644 (file)
@@ -134,6 +134,6 @@ func Test_quotestar()
   let @* = quotestar_saved
 
   if !empty(skipped)
-    throw skipped
+    throw 'Skipped: ' . skipped
   endif
 endfunc
index e009e8e63736677fd260441c0b6302dfa69ecb7f..50b7c4a5d97b5f829f2f6c3ec46f81e23a549d38 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    491,
 /**/
     490,
 /**/