Mercurial > vim
view src/testdir/test_options.in @ 5774:0a295a3c9e47 v7.4.231
updated for version 7.4.231
Problem: An error in ":options" is not caught by the tests.
Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that
it uses the current runtime files instead of the installed ones.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 01 Apr 2014 14:08:28 +0200 |
parents | |
children | 55c67e16e4fd |
line wrap: on
line source
Test for ":options". STARTTEST :so small.vim :let caught = 'ok' :try :options :catch :let caught = v:throwpoint . "\n" . v:exception :endtry :buf 1 :$put =caught :/^result/,$w! test.out :qa! ENDTEST result