summaryrefslogtreecommitdiff
path: root/src/testdir/test_matchadd_conceal.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-13 22:19:53 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-13 22:19:53 +0200
commitb0f94c1ff34d27d33aa9f96204985ea29c2eb0a1 (patch)
tree257407d2c2c31bff552c749fd9296642fc7f55c2 /src/testdir/test_matchadd_conceal.vim
parent8d241040310a6a27c28d62fa04558f2bfaa5ebde (diff)
downloadvim-git-b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1.tar.gz
patch 8.1.1524: tests are silently skippedv8.1.1524
Problem: Tests are silently skipped. Solution: Throw an exception for skipped tests in more places.
Diffstat (limited to 'src/testdir/test_matchadd_conceal.vim')
-rw-r--r--src/testdir/test_matchadd_conceal.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_matchadd_conceal.vim b/src/testdir/test_matchadd_conceal.vim
index 8d774a000..a7c8b06f5 100644
--- a/src/testdir/test_matchadd_conceal.vim
+++ b/src/testdir/test_matchadd_conceal.vim
@@ -1,6 +1,7 @@
" Test for matchadd() and conceal feature
+
if !has('conceal')
- finish
+ throw 'Skipped, conceal feature missing'
endif
if !has('gui_running') && has('unix')