diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2015-11-02 11:19:27 -0500 |
|---|---|---|
| committer | Tamir Duberstein <tamird@gmail.com> | 2015-11-08 13:36:36 -0500 |
| commit | c21ffc27b12f092c8fd0789266aefff7796a73b5 (patch) | |
| tree | cc9a2403ee15bfd280ec15e50d4cdaebba1ae977 | |
| parent | 008f9d5822f181703387d867c29d8434968032d4 (diff) | |
| download | rust-c21ffc27b12f092c8fd0789266aefff7796a73b5.tar.gz rust-c21ffc27b12f092c8fd0789266aefff7796a73b5.zip | |
print the unexpected character
| -rw-r--r-- | src/test/run-pass/atomic-print.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/atomic-print.rs b/src/test/run-pass/atomic-print.rs index ae0a358ac4e..aa1ef2025a0 100644 --- a/src/test/run-pass/atomic-print.rs +++ b/src/test/run-pass/atomic-print.rs @@ -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) } } } |
