diff --git a/Cargo.toml b/Cargo.toml index bb920db..816b2c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ build-cli = ["dep:clap"] [dependencies] ark-serialize = { version = "0.4.0", optional = true, default-features = false, features = ["derive"] } ark-std = { version = "0.4.0", default-features = false } -base64 = "0.21" +base64 = "0.22" crc-any = { version = "2.4.1", default-features = false } serde = { version = "1.0", optional = true, features = ["derive"] } snafu = { version = "0.7", features = ["backtraces"] } diff --git a/tests/tests.rs b/tests/tests.rs index a7ce661..b4a165f 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -366,7 +366,7 @@ fn test_js_new_error() { fn wasm_error_to_string() { assert_eq!( JsValue::from(Tb64Error::from(base64::DecodeError::InvalidByte(66, 42))), - to_jsvalue("invalid base 64: Invalid byte 42, offset 66.") + to_jsvalue("invalid base 64: Invalid symbol 42, offset 66.") ); } @@ -377,7 +377,7 @@ fn test_error_fmt() { "{}", Tb64Error::from(base64::DecodeError::InvalidByte(66, 42)) ), - "invalid base 64: Invalid byte 42, offset 66." + "invalid base 64: Invalid symbol 42, offset 66." ); }