Skip to content

Commit

Permalink
Add negative tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justjosias authored and ebroto committed Nov 30, 2020
1 parent 073018a commit e080791
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ui/print_stderr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@

fn main() {
eprintln!("Hello");
println!("This should not do anything");
eprint!("World");
print!("Nor should this");
}

0 comments on commit e080791

Please sign in to comment.