mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
test/old: pass Test_statusline on Windows
This commit is contained in:
@@ -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".
|
||||||
|
Reference in New Issue
Block a user