Patch 8.2.0262 (after 8.2.0261)
Problem:    Fileformat test fails on MS-Windows.
Solution:   Set fileformat of buffer.
Files:      src/testdir/test_fileformat.vim


*** ../vim-8.2.0261/src/testdir/test_fileformat.vim     2020-02-16 
13:33:52.047371845 +0100
--- src/testdir/test_fileformat.vim     2020-02-16 14:55:04.811413507 +0100
***************
*** 281,290 ****
--- 281,293 ----
  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!
*** ../vim-8.2.0261/src/version.c       2020-02-16 13:33:52.051371829 +0100
--- src/version.c       2020-02-16 14:54:33.199541113 +0100
***************
*** 744,745 ****
--- 744,747 ----
  {   /* Add new patch number below this line */
+ /**/
+     262,
  /**/

-- 
>From "know your smileys":
 :----}  You lie like Pinocchio

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202002161358.01GDwj2g001909%40masaka.moolenaar.net.

Raspunde prin e-mail lui