# HG changeset patch # User Bram Moolenaar # Date 1581862505 -3600 # Node ID 85e8bee2e3e20bd048d171fb5e7f11f73cbd60af # Parent c8a7af46e364772f84414b90a9ad96ed44ccc67d patch 8.2.0264: fileformat test still fails on MS-Windows Commit: https://github.com/vim/vim/commit/a36c830a32f439b862ffb85d4c4b4799ee5ea2f9 Author: Bram Moolenaar Date: Sun Feb 16 15:08:28 2020 +0100 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. diff --git a/src/testdir/test_fileformat.vim b/src/testdir/test_fileformat.vim --- a/src/testdir/test_fileformat.vim +++ b/src/testdir/test_fileformat.vim @@ -281,9 +281,9 @@ endfunc func Test_fileformat_plusplus_read() new call setline(1, ['one', 'two', 'three']) - set ff=unix w ++ff=dos Xfile1 enew! + set ff=unix " A :read doesn't change the fileformat, but does apply to the read lines. r ++fileformat=unix Xfile1 call assert_equal('unix', &fileformat) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 264, +/**/ 263, /**/ 262,