summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-19 21:01:14 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-19 21:01:14 +0100
commitbfd830d3e2dbd1e9b14c65625f18773074e6ac67 (patch)
treee2ef8f99d796efca3df7486aa483728befb45d9f
parent38e3483637c16e018f88c07b1dcff97cdb821a29 (diff)
downloadvim-git-bfd830d3e2dbd1e9b14c65625f18773074e6ac67.tar.gz
patch 8.0.0491: quotestar test fails when features are missingv8.0.0491
Problem: The quotestar test fails when a required feature is missing. Solution: Prepend "Skipped" to the thrown exception.
-rw-r--r--src/testdir/test_quotestar.vim2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_quotestar.vim b/src/testdir/test_quotestar.vim
index 300a96473..111a226b6 100644
--- a/src/testdir/test_quotestar.vim
+++ b/src/testdir/test_quotestar.vim
@@ -134,6 +134,6 @@ func Test_quotestar()
let @* = quotestar_saved
if !empty(skipped)
- throw skipped
+ throw 'Skipped: ' . skipped
endif
endfunc
diff --git a/src/version.c b/src/version.c
index e009e8e63..50b7c4a5d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 491,
+/**/
490,
/**/
489,