Skip to content

Commit bfd830d

Browse files
committed
patch 8.0.0491: quotestar test fails when features are missing
Problem: The quotestar test fails when a required feature is missing. Solution: Prepend "Skipped" to the thrown exception.
1 parent 38e3483 commit bfd830d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/testdir/test_quotestar.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,6 @@ func Test_quotestar()
134134
let @* = quotestar_saved
135135

136136
if !empty(skipped)
137-
throw skipped
137+
throw 'Skipped: ' . skipped
138138
endif
139139
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
491,
767769
/**/
768770
490,
769771
/**/

0 commit comments

Comments
 (0)