ci: fix failing windows tests for `v run -`

pull/6893/head
Delyan Angelov 2020-11-20 16:13:45 +02:00
parent 5d76e85a23
commit 93d460f8fc
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ fn pipe_to_v_run() ? {
tmp_v_file := os.join_path(os.temp_dir(), 'generated_piped_program.v')
os.write_file(tmp_v_file, 'println(1 + 3)\nprintln("hello")\n') ?
assert os.is_file(tmp_v_file)
cmd := '"$cat_cmd" "$tmp_v_file" | "$vexe" run -'
cmd := '$cat_cmd "$tmp_v_file" | "$vexe" run -'
res := os.exec(cmd) ?
// eprintln('>> cmd: $cmd | res: $res')
assert res.exit_code == 0