annotate src/testdir/test_options.in @ 6166:0a42938f449c v7.4.419

updated for version 7.4.419 Problem: Whan part of a list is locked it's possible to make changes. Solution: Check if any of the list items is locked before make a change. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Fri, 29 Aug 2014 09:46:10 +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