Fix braces in panic message in test.
This commit is contained in:
parent
dd81c91028
commit
9e3b949b8c
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ fn test_match_option_string() {
|
|||
let five = "Five".to_string();
|
||||
match Some(five) {
|
||||
Some(s) => assert_eq!(s, "Five"),
|
||||
None => panic!("unexpected None while matching on Some(String { ... })"),
|
||||
None => panic!("{}", "unexpected None while matching on Some(String { ... })"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue