annotate src/testdir/test54.in @ 11050:622ed5a4925f v8.0.0414

patch 8.0.0414: balloon eval is not tested commit https://github.com/vim/vim/commit/d5841f28d4b041830af0f3314979f9b9093d1a77 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 5 13:27:25 2017 +0100 patch 8.0.0414: balloon eval is not tested Problem: Balloon eval is not tested. Solution: Add a few balloon tests. (Kazunobu Kuriyama)
author Christian Brabandt <cb@256bit.org>
date Sun, 05 Mar 2017 13:30:04 +0100
parents 71eaeb69efe4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
1 Some tests for buffer-local autocommands
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
2
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
3 STARTTEST
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
4 :so small.vim
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
5 :e xx
1709
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
6 :if has("vms")
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
7 : !del test.out.*
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
8 : au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.out
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
9 :else
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
10 : !rm -f test.out
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
11 : au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out
71eaeb69efe4 updated for version 7.2-007
vimboss
parents: 51
diff changeset
12 :endif
40
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
13 :e somefile " here, autocommand for xx shall write test.out
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
14 : " but autocommand shall not apply to buffer named <buffer>
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
15 :bwipe xx " here, autocommand shall be auto-deleted
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
16 :e xx " nothing shall be written
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
17 :e somefile " nothing shall be written
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
18 :qa!
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
19 ENDTEST
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
20
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
21 start of test file xx
f1d2a58883b9 updated for version 7.0024
vimboss
parents:
diff changeset
22 end of test file xx