Skip to content

Commit 753aae0

Browse files
Alexander JonesAlexander Jones
Alexander Jones
authored and
Alexander Jones
committed
1 parent 5e3217c commit 753aae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-whatwg-encoding-custom-textdecoder-utf16-surrogates.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const bad = [
4343
},
4444
];
4545

46-
bad.forEach((t) => {
46+
for (const t of bad) {
4747
assert.throws(
4848
() => {
4949
new TextDecoder(t.encoding, { fatal: true })
@@ -53,4 +53,4 @@ bad.forEach((t) => {
5353
name: 'TypeError'
5454
}
5555
);
56-
});
56+
}

0 commit comments

Comments
 (0)