annotate src/testdir/test_options.in @ 7001:27f8247d2619 v7.4.818

patch 7.4.818 Problem: 'linebreak' breaks c% if the last Visual selection was block. (Chris Morganiser, Issue 389) Solution: Handle Visual block mode differently. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Aug 2015 17:46:36 +0200
parents 0a295a3c9e47
children 55c67e16e4fd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5774
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Test for ":options".
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :let caught = 'ok'
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :try
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :options
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :catch
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :let caught = v:throwpoint . "\n" . v:exception
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :endtry
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :buf 1
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :$put =caught
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :/^result/,$w! test.out
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :qa!
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 ENDTEST
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
0a295a3c9e47 updated for version 7.4.231
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 result