Skip to content

Commit

Permalink
Update the error messages produces by base64
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbb committed Apr 7, 2024
1 parent 80e71c2 commit ee79631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_with/tests/base64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn base64_vec() {

check_error_deserialization::<BDefault>(
r#"["0"]"#,
expect!["Encoded text cannot have a 6-bit remainder. at line 1 column 4"],
expect!["Invalid input length: 1 at line 1 column 4"],
);
check_error_deserialization::<BDefault>(
r#"["zz"]"#,
Expand Down

0 comments on commit ee79631

Please sign in to comment.