0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

updated for version 7.3.1302

Problem:    Test 17 fails on MS-Windows.  Includes line break in file name
            everywhere.
Solution:   Fix 'fileformat'. Omit CR-LF from a line read from an included
            file.
This commit is contained in:
Bram Moolenaar
2013-07-03 22:28:36 +02:00
parent ee0ee2a046
commit c84e3c1ee1
4 changed files with 15 additions and 3 deletions

View File

@@ -33,6 +33,7 @@ STARTTEST
:" > nmake -f Make_dos.mak test17.out
:w! test.out
gf
:set ff=unix
:w! test.out
:brewind
ENDTEST
@@ -130,9 +131,10 @@ i%inc FALSE.c foo.c
:checkpath!
:redir END
:brewind
:" replace "\" to "/" for Windows
:" change "\" to "/" for Windows and fix 'fileformat'
:e test.out
:%s#\\#/#g
:set ff&
:w
:q
ENDTEST

View File

@@ -30,4 +30,4 @@ Xdir1/dir2/foo.c -->
Xdir1/dir2/bar.c -->
Xdir1/dir2/baz.c
Xdir1/dir2/baz.c -->
foo.c^@ (Already listed)
foo.c (Already listed)