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

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
shabanovd committed May 5, 2022
1 parent a599647 commit 77c04b0
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 @@ -999,7 +999,7 @@ pub mod test {

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

0 comments on commit 77c04b0

Please sign in to comment.