test/old: pass Test_statusline on Windows

This commit is contained in:
Jan Edmund Lazo 2019-06-13 19:39:32 -04:00
parent 47a5456670
commit 6efa3bff09

View File

@ -86,8 +86,11 @@ func Test_statusline()
call assert_match('^Xstatusline\s*$', s:get_statusline()) call assert_match('^Xstatusline\s*$', s:get_statusline())
" %F: Full path to the file in the buffer. " %F: Full path to the file in the buffer.
let shellslash = &shellslash
set shellslash
set statusline=%F set statusline=%F
call assert_match('/testdir/Xstatusline\s*$', s:get_statusline()) call assert_match('/testdir/Xstatusline\s*$', s:get_statusline())
let &shellslash = shellslash
" %h: Help buffer flag, text is "[help]". " %h: Help buffer flag, text is "[help]".
" %H: Help buffer flag, text is ",HLP". " %H: Help buffer flag, text is ",HLP".