Skip to content

Commit 712598f

Browse files
committed
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'.
1 parent d7aca7a commit 712598f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/testdir/test_gf.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ func Test_gF()
3838
w! Xfile
3939
close
4040
new
41-
call setline(1, ['one', 'Xfile@3', 'three'])
41+
set isfname-=:
42+
call setline(1, ['one', 'Xfile:3', 'three'])
4243
2
4344
call assert_fails('normal gF', 'E37:')
4445
call assert_equal(2, getcurpos()[1])
@@ -47,6 +48,7 @@ func Test_gF()
4748
call assert_equal('Xfile', bufname('%'))
4849
call assert_equal(3, getcurpos()[1])
4950

51+
set isfname&
5052
call delete('Xfile')
5153
call delete('Xfile2')
5254
bwipe Xfile

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
604,
767769
/**/
768770
603,
769771
/**/

0 commit comments

Comments
 (0)