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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6341
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for writefile()
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :source small.vim
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :%delete _
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :let f = tempname()
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :call writefile(["over","written"], f, "b")
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :call writefile(["hello","world"], f, "b")
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :call writefile(["!", "good"], f, "a")
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :call writefile(["morning"], f, "ab")
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :call writefile(["", "vimmers"], f, "ab")
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :bwipeout!
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :$put =readfile(f)
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :1 delete _
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :w! test.out
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 :qa!
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 ENDTEST
094a87e76155 updated for version 7.4.503
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18