Skip to content

Commit 9e9129e

Browse files
committed
test: update punycode range error expectation
1 parent 1f683af commit 9e9129e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-punycode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ assert.throws(() => {
6363
}, /^RangeError: Illegal input >= 0x80 \(not a basic code point\)$/);
6464
assert.throws(() => {
6565
punycode.decode('あ');
66-
}, /^RangeError: Overflow: input needs wider integers to process$/);
66+
}, /^RangeError: Invalid input$/);
6767

6868
// http://tools.ietf.org/html/rfc3492#section-7.1
6969
const tests = [

0 commit comments

Comments
 (0)