Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame^] | 1 | Test for Bufleave autocommand that deletes the buffer we are about to edit. |
2 | |||||
3 | STARTTEST | ||||
4 | :so small.vim | ||||
5 | :au BufLeave test9.in bwipe yy | ||||
6 | :e yy | ||||
7 | :/^start of/,$w! test.out " Write contents of this file | ||||
8 | :qa! | ||||
9 | ENDTEST | ||||
10 | |||||
11 | start of test file xx | ||||
12 | end of test file xx |