Skip to content

Commit a36c830

Browse files
committed
patch 8.2.0264: fileformat test still fails on MS-Windows
Problem: Fileformat test still fails on MS-Windows. Solution: Set fileformat of buffer in the right place.
1 parent df2ecdd commit a36c830

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/testdir/test_fileformat.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,9 @@ endfunc
281281
func Test_fileformat_plusplus_read()
282282
new
283283
call setline(1, ['one', 'two', 'three'])
284-
set ff=unix
285284
w ++ff=dos Xfile1
286285
enew!
286+
set ff=unix
287287
" A :read doesn't change the fileformat, but does apply to the read lines.
288288
r ++fileformat=unix Xfile1
289289
call assert_equal('unix', &fileformat)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
264,
745747
/**/
746748
263,
747749
/**/

0 commit comments

Comments
 (0)