From a36c830a32f439b862ffb85d4c4b4799ee5ea2f9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 16 Feb 2020 15:08:28 +0100 Subject: [PATCH] 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. --- src/testdir/test_fileformat.vim | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_fileformat.vim b/src/testdir/test_fileformat.vim index 9f90debd7..efc3b2252 100644 --- 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 index 780330ca2..dc849eb45 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 264, /**/ 263, /**/ -- 2.50.1