diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-07 22:33:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-07 22:33:32 +0100 |
commit | e8512d7fedbddd8d464b2c589e6ba5ab9a41bc78 (patch) | |
tree | 40258098e66e89468e1659f62ec70112de269bef /src/testdir/test_options.vim | |
parent | 65408f7dfbd4bb50d740a8b8f2171080571223f2 (diff) | |
download | vim-git-e8512d7fedbddd8d464b2c589e6ba5ab9a41bc78.tar.gz |
patch 8.0.0429: options test does not always test everythingv8.0.0429
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.
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 3 |
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 |