1
0
forked from aniani/vim
Files
vim/src/testdir/test_options_all.vim
Milly 6eca04e9f1 patch 9.1.0797: testing of options can be further improved
Problem:  testing of options can be further improved
Solution: split the generated option test into test_options_all.vim,
          add more test cases, save and restore values, fix use-after-free

closes: #15894

Signed-off-by: Milly <milly.ca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-10-21 22:20:51 +02:00

14 lines
309 B
VimL

" Test for options
" opt_test.vim is generated from src/optiondefs.h and runtime/doc/options.txt
" using gen_opt_test.vim
if filereadable('opt_test.vim')
source opt_test.vim
else
func Test_set_values()
throw 'Skipped: opt_test.vim does not exist'
endfunc
endif
" vim: shiftwidth=2 sts=2 expandtab