diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-08-16 17:34:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-08-16 17:34:34 +0200 |
commit | 0ddd1b5e3568f3402d5e58ee054c9c412eab0b94 (patch) | |
tree | 745bc0a8b860f3811e70d217a2a42f0b752516dd | |
parent | 5307de0746359098d63053b5fb58dbfb924ce0fd (diff) | |
download | vim-git-0ddd1b5e3568f3402d5e58ee054c9c412eab0b94.tar.gz |
updated for version 7.4.406v7.4.406
Problem: Test 72 and 100 fail on MS-Windows.
Solution: Set fileformat to unix in the tests. (Taro Muraoka)
-rw-r--r-- | src/testdir/test100.in | 3 | ||||
-rw-r--r-- | src/testdir/test72.in | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test100.in b/src/testdir/test100.in index 61d28c15f..e703f1819 100644 --- a/src/testdir/test100.in +++ b/src/testdir/test100.in @@ -18,6 +18,7 @@ STARTTEST :call FillBuffer() :call feedkeys(":earlier 10\n", 't') :call UndoLevel() +:set ff=unix :%w! test.out :new two :0put ='TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwards)' @@ -27,6 +28,7 @@ STARTTEST :call UndoLevel() :setlocal ul=10 :call UndoLevel() +:set ff=unix :%w >> test.out :wincmd p :redir >>test.out | echo "global value shouldn't be changed and still be 5!" | echo 'ONE: expecting global undolevels: 5, local undolevels: -123456 (default)'|:setglobal undolevels? | echon ' global' | setlocal undolevels? | echon ' local' |echo "" |redir end @@ -35,6 +37,7 @@ STARTTEST :1put ='global value should be changed to 50' :2put ='THREE: expecting global undolevels: 50, local undolevels: -123456 (default)' :call UndoLevel() +:set ff=unix :%w >> test.out :"sleep 10 :" diff --git a/src/testdir/test72.in b/src/testdir/test72.in index 031edbf14..87c25d486 100644 --- a/src/testdir/test72.in +++ b/src/testdir/test72.in @@ -8,6 +8,7 @@ STARTTEST :" Test 'undofile': first a simple one-line change. :set nocompatible viminfo+=nviminfo visualbell :set ul=100 undofile nomore +:set ff=unix :e! Xtestfile ggdGithis is one line:set ul=100 :s/one/ONE/ diff --git a/src/version.c b/src/version.c index 28a3fdb37..7e5b3cdd5 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 406, +/**/ 405, /**/ 404, |