Problem: Test files have inconsistant modelines.
Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'.
If it makes sense, add a new test method to an already existing file. You may
want to separate it from other tests with comment lines.
-The numbered tests are older, we have switched to named tests.
+The numbered tests are older, we have switched to named tests. Don't add any
+more numbered tests.
And then you can choose between a new style test, which is a Vim script, or an
old style test, which uses Normal mode commands. Use a new style test if you
-can.
+can. Use an old style test when it needs to run without the +eval feature.
TO ADD A NEW STYLE TEST:
set nocompatible viminfo+=nviminfo
endfunc
-" vim: tabstop=2 shiftwidth=0 expandtab
+" vim: shiftwidth=2 sts=2 expandtab
call assert_equal("€", s)
endfunc
-" vim: tabstop=2 shiftwidth=0 sts=-1 expandtab
+" vim: shiftwidth=2 sts=2 expandtab
sil! %d _
endfu
-" vim: tabstop=2 shiftwidth=0 expandtab
+" vim: shiftwidth=2 sts=2 expandtab
endtry
endfunc
-" vim: et sw=2:
+" vim: shiftwidth=2 sts=2 expandtab
endfunc
-" vim: tabstop=2 shiftwidth=2 expandtab
+" vim: shiftwidth=2 sts=2 expandtab
call assert_equal([0, 1, 10, 0], getpos('.'))
endfunc
-" vim: shiftwidth=2 expandtab
+" vim: shiftwidth=2 sts=2 expandtab
set hlsearch&
endfunc
-" vim: et ts=2 sw=2
+" vim: shiftwidth=2 sts=2 expandtab
call setwinvar(1, 'myvar', 1)
bwipe!
endfunc
-
set tagstack&vim
endfunc
-" vim: sw=2 et
+" vim: shiftwidth=2 sts=2 expandtab
call assert_inrange(0, 10, slept)
endfunc
-" vim: ts=2 sw=0 et
+" vim: shiftwidth=2 sts=2 expandtab
augroup! test_window_cmd_wincmd_gf
endfunc
-" vim: sw=2 et
+" vim: shiftwidth=2 sts=2 expandtab
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2228,
/**/
2227,
/**/