Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
print the unexpected character
  • Loading branch information
tamird committed Nov 8, 2015
1 parent 008f9d5 commit c21ffc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-pass/atomic-print.rs
Expand Up @@ -41,7 +41,7 @@ fn main(){
match line.chars().next().unwrap() {
'1' => assert_eq!(line, "11111"),
'2' => assert_eq!(line, "22222"),
_ => panic!("Unexpected character")
chr => panic!("unexpected character {:?}", chr)
}
}
}
Expand Down

0 comments on commit c21ffc2

Please sign in to comment.