view src/testdir/test_options.in @ 6581:05202d6ba0ef v7.4.617

updated for version 7.4.617 Problem: Wrong ":argdo" range does not cause an error. Solution: Reset "cmd" to NULL. (Marcin Szamotulski, Ingo Karkat)
author Bram Moolenaar <bram@vim.org>
date Tue, 03 Feb 2015 19:10:53 +0100
parents 0a295a3c9e47
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