mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
oldtests: set shellslash for Test_non_zero_arg
This commit is contained in:
parent
d00e913ea6
commit
42e1e2495c
@ -134,6 +134,8 @@ func Test_non_zero_arg()
|
||||
" call test_settime(93784)
|
||||
" call Try_arg_non_zero("mode(%v%)", 'x', 'x!')
|
||||
" call test_settime(0)
|
||||
let shellslash = &shellslash
|
||||
set shellslash
|
||||
|
||||
call Try_arg_non_zero("shellescape('foo%', %v%)", "'foo%'", "'foo\\%'")
|
||||
|
||||
@ -152,4 +154,6 @@ func Test_non_zero_arg()
|
||||
let r = visualmode(v)
|
||||
call assert_equal('', r, 'result for ' . v . ' is not "" but ' . r)
|
||||
endfor
|
||||
|
||||
let &shellslash = shellslash
|
||||
endfunc
|
||||
|
Loading…
Reference in New Issue
Block a user