view src/testdir/test_options.in @ 6454:a35752526cd0 v7.4.556

updated for version 7.4.556 Problem: Failed commands in Python interface not handled correctly. Solution: Restore window and buffer on failure.
author Bram Moolenaar <bram@vim.org>
date Wed, 17 Dec 2014 14:46:09 +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