mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-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'.
712598f210
This commit is contained in:
parent
0d3557ad72
commit
de022d2570
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user