From ee79631002f6e76d0b078d8f3e25d952dbb5058b Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sun, 7 Apr 2024 14:57:17 +0200 Subject: [PATCH] Update the error messages produces by base64 --- serde_with/tests/base64.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde_with/tests/base64.rs b/serde_with/tests/base64.rs index cb20fadc..5a58afa5 100644 --- a/serde_with/tests/base64.rs +++ b/serde_with/tests/base64.rs @@ -38,7 +38,7 @@ fn base64_vec() { check_error_deserialization::( 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::( r#"["zz"]"#,