Bram Moolenaar | efa304d | 2014-04-01 14:08:28 +0200 | [diff] [blame^] | 1 | Test for ":options". |
2 | |||||
3 | STARTTEST | ||||
4 | :so small.vim | ||||
5 | :let caught = 'ok' | ||||
6 | :try | ||||
7 | :options | ||||
8 | :catch | ||||
9 | :let caught = v:throwpoint . "\n" . v:exception | ||||
10 | :endtry | ||||
11 | :buf 1 | ||||
12 | :$put =caught | ||||
13 | :/^result/,$w! test.out | ||||
14 | :qa! | ||||
15 | ENDTEST | ||||
16 | |||||
17 | result |