ci: fix failing windows tests for `v run -`
							parent
							
								
									5d76e85a23
								
							
						
					
					
						commit
						93d460f8fc
					
				| 
						 | 
					@ -13,7 +13,7 @@ fn pipe_to_v_run() ? {
 | 
				
			||||||
	tmp_v_file := os.join_path(os.temp_dir(), 'generated_piped_program.v')
 | 
						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') ?
 | 
						os.write_file(tmp_v_file, 'println(1 + 3)\nprintln("hello")\n') ?
 | 
				
			||||||
	assert os.is_file(tmp_v_file)
 | 
						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) ?
 | 
						res := os.exec(cmd) ?
 | 
				
			||||||
	// eprintln('>> cmd: $cmd | res: $res')
 | 
						// eprintln('>> cmd: $cmd | res: $res')
 | 
				
			||||||
	assert res.exit_code == 0
 | 
						assert res.exit_code == 0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue