Mercurial > vim
view src/testdir/test_writefile.in @ 7231:a4d10eec6356 v7.4.924
commit https://github.com/vim/vim/commit/32d03b34ac8a34a962f57847fc431a2b4e14efea
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 19 13:46:48 2015 +0100
patch 7.4.924
Problem: DEVELOPER_DIR gets reset by configure.
Solution: Do not reset DEVELOPER_DIR when there is no --with-developer-dir
argument. (Kazuki Sakamoto, closes #482)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Nov 2015 14:00:05 +0100 |
parents | 094a87e76155 |
children | 26bb1a6abe25 |
line wrap: on
line source
Tests for writefile() STARTTEST :source small.vim :%delete _ :let f = tempname() :call writefile(["over","written"], f, "b") :call writefile(["hello","world"], f, "b") :call writefile(["!", "good"], f, "a") :call writefile(["morning"], f, "ab") :call writefile(["", "vimmers"], f, "ab") :bwipeout! :$put =readfile(f) :1 delete _ :w! test.out :qa! ENDTEST