oldtests: set shellslash for Test_non_zero_arg

This commit is contained in:
Jan Edmund Lazo 2019-04-01 23:28:16 -04:00
parent d00e913ea6
commit 42e1e2495c

View File

@ -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