Problem: Fileformat test fails on MS-Windows.
Solution: Set fileformat of buffer.
func Test_fileformat_plusplus_read()
new
call setline(1, ['one', 'two', 'three'])
+ set ff=unix
w ++ff=dos Xfile1
enew!
+ " A :read doesn't change the fileformat, but does apply to the read lines.
r ++fileformat=unix Xfile1
call assert_equal('unix', &fileformat)
+ call assert_equal("three\r", getline('$'))
3r ++edit Xfile1
call assert_equal('dos', &fileformat)
close!
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 262,
/**/
261,
/**/