summaryrefslogtreecommitdiff
path: root/src/testdir/test_options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r--src/testdir/test_options.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim
index ac43c1a81..9cf5e5f11 100644
--- a/src/testdir/test_options.vim
+++ b/src/testdir/test_options.vim
@@ -301,8 +301,9 @@ func Test_set_all()
endfunc
func Test_set_values()
- " The file is only generated when running "make test" in the src directory.
if filereadable('opt_test.vim')
source opt_test.vim
+ else
+ throw 'Skipped: opt_test.vim does not exist'
endif
endfunc