Fix tests failing on Windows due to EOL shenanigans
This commit is contained in:
parent
41667ff4a3
commit
cdfa5b1310
@ -121,7 +121,7 @@ fn main()
|
|||||||
for f in fs::read_dir(&args[2]).unwrap()
|
for f in fs::read_dir(&args[2]).unwrap()
|
||||||
{
|
{
|
||||||
let f = f.unwrap();
|
let f = f.unwrap();
|
||||||
let file_content = fs::read_to_string(f.path()).unwrap();
|
let file_content = fs::read_to_string(f.path()).unwrap().replace("\r\n", "\n");
|
||||||
println!("========NOW TESTING {:?}========", f.path());
|
println!("========NOW TESTING {:?}========", f.path());
|
||||||
match compile(&file_content, &intrinsics, interpret, debug)
|
match compile(&file_content, &intrinsics, interpret, debug)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user