File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ testsuite:
3535
3636run file = " main.tri":
3737 cargo run -- compile {{ file}} > main.ll
38- {{ clang}} main.ll -g -ldl -no-pie -fno-pie - fdebug-macro -O0 -rdynamic
38+ {{ clang}} main.ll -g -ldl -fdebug-macro -O0 -rdynamic
3939 ./ a.out
4040
4141trace file = " main.tri":
Original file line number Diff line number Diff line change @@ -175,14 +175,12 @@ impl Report {
175175 if program_output. stderr . is_empty ( ) {
176176 writeln ! ( stdout, "expected error output" ) ?;
177177 }
178- } else {
179- if !program_output. stderr . is_empty ( ) {
180- writeln ! (
181- stdout,
182- "---- unexpected error output ----\n {}" ,
183- std:: str :: from_utf8( & program_output. stderr) . unwrap_or( "non UTF-8 output" ) ,
184- ) ?;
185- }
178+ } else if !program_output. stderr . is_empty ( ) {
179+ writeln ! (
180+ stdout,
181+ "---- unexpected error output ----\n {}" ,
182+ std:: str :: from_utf8( & program_output. stderr) . unwrap_or( "non UTF-8 output" ) ,
183+ ) ?;
186184 }
187185
188186 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments