Skip to content

Commit

Permalink
Update base64 error test
Browse files Browse the repository at this point in the history
  • Loading branch information
jbearer committed Mar 15, 2024
1 parent 76d69ef commit 0ebc9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
);
}

Expand All @@ -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."
);
}

Expand Down

0 comments on commit 0ebc9f8

Please sign in to comment.