]> granicus.if.org Git - vim/commitdiff
patch 8.0.0604: gF test fails still on MS-Windows v8.0.0604
authorBram Moolenaar <Bram@vim.org>
Wed, 24 May 2017 08:42:37 +0000 (10:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 May 2017 08:42:37 +0000 (10:42 +0200)
Problem:    gF test fails still on MS-Windows.
Solution:   Use : before the line number and remove it from 'isfname'.

src/testdir/test_gf.vim
src/version.c

index d5bdfab65237ae0d01650a41e10498bf48c5d624..ef1bf1075bbb6f627497017639b667681ae787d0 100644 (file)
@@ -38,7 +38,8 @@ func Test_gF()
   w! Xfile
   close
   new
-  call setline(1, ['one', 'Xfile@3', 'three'])
+  set isfname-=:
+  call setline(1, ['one', 'Xfile:3', 'three'])
   2
   call assert_fails('normal gF', 'E37:')
   call assert_equal(2, getcurpos()[1])
@@ -47,6 +48,7 @@ func Test_gF()
   call assert_equal('Xfile', bufname('%'))
   call assert_equal(3, getcurpos()[1])
 
+  set isfname&
   call delete('Xfile')
   call delete('Xfile2')
   bwipe Xfile
index 6a650356e25b57b94a14c49c1cd8f5fa690ea0ce..bc80ace7410567443b145750e795bf66160fd07b 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    604,
 /**/
     603,
 /**/