Skip to content

Commit

Permalink
Add negative tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justjosias committed Dec 4, 2020
1 parent 9fb326a commit 0c93301
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 0c93301

Please sign in to comment.