mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
oldtests: set shellslash in Test_true_false_arg()
This commit is contained in:
parent
e428fc4b52
commit
8bd194f98a
@ -57,6 +57,9 @@ endfunc
|
|||||||
|
|
||||||
" Test using TRUE or FALSE values for an argument.
|
" Test using TRUE or FALSE values for an argument.
|
||||||
func Test_true_false_arg()
|
func Test_true_false_arg()
|
||||||
|
let shellslash = &shellslash
|
||||||
|
let wildignore = &wildignore
|
||||||
|
set shellslash
|
||||||
call Try_arg_true_false('count(["a", "A"], "a", %v%)', 1, 2)
|
call Try_arg_true_false('count(["a", "A"], "a", %v%)', 1, 2)
|
||||||
|
|
||||||
set wildignore=*.swp
|
set wildignore=*.swp
|
||||||
@ -110,6 +113,8 @@ func Test_true_false_arg()
|
|||||||
let here_id = synID(1, 3, 0)
|
let here_id = synID(1, 3, 0)
|
||||||
call Try_arg_true_false('synID(1, 3, %v%)', here_id, brackets_id)
|
call Try_arg_true_false('synID(1, 3, %v%)', here_id, brackets_id)
|
||||||
bwipe!
|
bwipe!
|
||||||
|
let &wildignore = wildignore
|
||||||
|
let &shellslash = shellslash
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
function Try_arg_non_zero(expr, false_val, true_val)
|
function Try_arg_non_zero(expr, false_val, true_val)
|
||||||
|
Loading…
Reference in New Issue
Block a user