Skip to content

Commit

Permalink
Update test/built-ins/Uint8Array/prototype/setFromBase64/writes-up-to…
Browse files Browse the repository at this point in the history
…-error.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>
  • Loading branch information
2 people authored and Ms2ger committed Jul 10, 2024
1 parent f49e995 commit cae888f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ target = new Uint8Array([255, 255, 255, 255, 255]);
assert.throws(SyntaxError, function() {
target.setFromBase64("MjYyZg===");
}, "extra characters after padding");
assert.compareArray(target, [50, 54, 50, 255, 255], "decoding from MjYyZg=== should not write the last chunk because it has extra padding ");
assert.compareArray(target, [50, 54, 50, 255, 255], "decoding from MjYyZg=== should not write the last chunk because it has extra padding");

0 comments on commit cae888f

Please sign in to comment.