Skip to content

Commit

Permalink
debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
ytmimi committed Mar 17, 2022
1 parent 6ab7ca7 commit d33bbcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/rustfmt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ r#"fn main() {
println!("hello world!");
}
"#;
println!("stdout: {}", stdout);
println!("stderr: {}", _stderr);
assert!(stdout == expected_output);
}

Expand Down Expand Up @@ -252,6 +254,8 @@ r#"fn main() {
println!("hello world!");
}
"#;
println!("stdout: {}", stdout);
println!("stderr: {}", _stderr);
assert!(stdout == expected_output);
}

Expand All @@ -274,6 +278,8 @@ r#"fn main() {
println!("hello world!");
}
"#;
println!("stdout: {}", stdout);
println!("stderr: {}", _stderr);
assert!(stdout == expected_output);

}
Expand Down

0 comments on commit d33bbcc

Please sign in to comment.