0
0
mirror of https://github.com/vim/vim.git synced 2025-10-12 06:44:06 -04:00

patch 8.0.0604: gF test fails still on MS-Windows

Problem:    gF test fails still on MS-Windows.
Solution:   Use : before the line number and remove it from 'isfname'.
This commit is contained in:
Bram Moolenaar
2017-05-24 10:42:37 +02:00
parent d7aca7a71c
commit 712598f210
2 changed files with 5 additions and 1 deletions

View File

@@ -38,7 +38,8 @@ func Test_gF()
w! Xfile w! Xfile
close close
new new
call setline(1, ['one', 'Xfile@3', 'three']) set isfname-=:
call setline(1, ['one', 'Xfile:3', 'three'])
2 2
call assert_fails('normal gF', 'E37:') call assert_fails('normal gF', 'E37:')
call assert_equal(2, getcurpos()[1]) call assert_equal(2, getcurpos()[1])
@@ -47,6 +48,7 @@ func Test_gF()
call assert_equal('Xfile', bufname('%')) call assert_equal('Xfile', bufname('%'))
call assert_equal(3, getcurpos()[1]) call assert_equal(3, getcurpos()[1])
set isfname&
call delete('Xfile') call delete('Xfile')
call delete('Xfile2') call delete('Xfile2')
bwipe Xfile bwipe Xfile

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
604,
/**/ /**/
603, 603,
/**/ /**/