diff options
| author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-16 11:16:19 -0400 | 
|---|---|---|
| committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-16 11:37:13 -0400 | 
| commit | de022d25707718029abdb539484dd242e36e4aa5 (patch) | |
| tree | 27bbcaf2cb44058a65c65a942a1d9b81d68ab755 /src | |
| parent | 0d3557ad72f724af908b408313cdfedba57edf96 (diff) | |
| download | rneovim-de022d25707718029abdb539484dd242e36e4aa5.tar.gz rneovim-de022d25707718029abdb539484dd242e36e4aa5.tar.bz2 rneovim-de022d25707718029abdb539484dd242e36e4aa5.zip | |
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'.
https://github.com/vim/vim/commit/712598f210570627534246cb5dcbb4f213367997
Diffstat (limited to 'src')
| -rw-r--r-- | src/nvim/testdir/test_gf.vim | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/src/nvim/testdir/test_gf.vim b/src/nvim/testdir/test_gf.vim index d5bdfab652..ef1bf1075b 100644 --- a/src/nvim/testdir/test_gf.vim +++ b/src/nvim/testdir/test_gf.vim @@ -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 | 
