test/old/win: debug Test_w_arg

This commit is contained in:
Jan Edmund Lazo
2021-04-01 08:31:03 -04:00
parent 3784827f8d
commit 6e9e8eb382

View File

@@ -932,7 +932,7 @@ func Test_w_arg()
" Test for failing to open the script output file. This test works only when
" the language is English.
if v:lang == "C" || v:lang =~ '^[Ee]n'
if !has('win32') && (v:lang == "C" || v:lang =~ '^[Ee]n')
call mkdir("Xdir")
let m = system(GetVimCommand() .. " -w Xdir")
call assert_equal("Cannot open for script output: \"Xdir\"\n", m)