Skip to content

Commit ada5421

Browse files
committed
fix a test
1 parent 5403a58 commit ada5421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit-global/es.uint8-array.set-from-base64.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (DESCRIPTORS) QUnit.test('Uint8Array.prototype.setFromBase64', assert => {
3131
const array = new Uint8Array(16);
3232
array.buffer.transfer();
3333

34-
assert.throws(() => array.setFromHex('SGVsbG8gV29ybGQ='), TypeError, 'detached');
34+
assert.throws(() => array.setFromBase64('SGVsbG8gV29ybGQ='), TypeError, 'detached');
3535
}
3636

3737
// Test262

0 commit comments

Comments
 (0)