Mercurial > vim
annotate src/testdir/test_writefile.in @ 6657:41d50eba0c0f v7.4.653
updated for version 7.4.653
Problem: Insert mode completion with complete() may have CTRL-L work like
CTRL-P.
Solution: Handle completion with complete() differently. (Yasuhiro
Matsumoto, Christian Brabandt, Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Mar 2015 18:08:43 +0100 |
parents | 094a87e76155 |
children | 26bb1a6abe25 |
rev | line source |
---|---|
6341 | 1 Tests for writefile() |
2 | |
3 STARTTEST | |
4 :source small.vim | |
5 :%delete _ | |
6 :let f = tempname() | |
7 :call writefile(["over","written"], f, "b") | |
8 :call writefile(["hello","world"], f, "b") | |
9 :call writefile(["!", "good"], f, "a") | |
10 :call writefile(["morning"], f, "ab") | |
11 :call writefile(["", "vimmers"], f, "ab") | |
12 :bwipeout! | |
13 :$put =readfile(f) | |
14 :1 delete _ | |
15 :w! test.out | |
16 :qa! | |
17 ENDTEST | |
18 |