Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shabanovd committed May 7, 2022
1 parent 77c04b0 commit c69cd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/support/src/storage/bounded_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ pub mod test {
serde_json::from_str(r#"[0,1,2,3,4,5]"#);

match c {
Err(msg) => assert_eq!(format!("{}", msg), "out of bounds at line 1 column 11"),
Err(msg) => assert_eq!(msg.to_string(), "out of bounds at line 1 column 11"),
_ => unreachable!("deserializer must raise error"),
}
}
Expand Down

0 comments on commit c69cd5b

Please sign in to comment.