Skip to content

Commit 087c254

Browse files
targosRafaelGSS
authored andcommitted
test: fix test-fs-write for V8 13.6
The `--expose_externalize_string` flag adds a new global. PR-URL: #58070 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent 9e49bed commit 087c254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/parallel/test-fs-write.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,20 @@ const constants = fs.constants;
3737

3838
const {
3939
createExternalizableString,
40+
createExternalizableTwoByteString,
4041
externalizeString,
4142
isOneByteString,
4243
} = globalThis;
4344

4445
assert.notStrictEqual(createExternalizableString, undefined);
46+
assert.notStrictEqual(createExternalizableTwoByteString, undefined);
4547
assert.notStrictEqual(externalizeString, undefined);
4648
assert.notStrictEqual(isOneByteString, undefined);
4749

4850
// Account for extra globals exposed by --expose_externalize_string.
4951
common.allowGlobals(
5052
createExternalizableString,
53+
createExternalizableTwoByteString,
5154
externalizeString,
5255
isOneByteString,
5356
globalThis.x,

0 commit comments

Comments
 (0)