Problem: Test 72 and 100 fail on MS-Windows.
Solution: Set fileformat to unix in the tests. (Taro Muraoka)
: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)'
: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
: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
:"
:" 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\e:set ul=100
:s/one/ONE/
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 406,
/**/
405,
/**/