diff src/testdir/test_options.vim @ 11081:bbdb4f0134cb v8.0.0429

patch 8.0.0429: options test does not always test everything commit https://github.com/vim/vim/commit/e8512d7fedbddd8d464b2c589e6ba5ab9a41bc78 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 7 22:33:32 2017 +0100 patch 8.0.0429: options test does not always test everything Problem: Options test does not always test everything. Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim was not found.
author Christian Brabandt <cb@256bit.org>
date Tue, 07 Mar 2017 22:45:04 +0100
parents 6da4287fd735
children 4e5191165707
line wrap: on
line diff
--- 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