summaryrefslogtreecommitdiff
path: root/src/testdir/test_options.in
blob: bf1232a223474ae0267e5310faff181de53cebf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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