Skip to content

Commit 9222852

Browse files
committed
test: fix test-fs-write for V8 13.6
The `--expose_externalize_string` flag adds a new global.
1 parent c449f41 commit 9222852

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: test/parallel/test-fs-write.js

+3
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)