Skip to content

Commit 78ca4bf

Browse files
committed
test: fix V8 serdes test for V8 9.1
Refs: v8/v8@40e499c
1 parent dbf07fd commit 78ca4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-v8-serdes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
5050
{
5151
const ser = new v8.DefaultSerializer();
5252
ser._getDataCloneError = common.mustCall((message) => {
53-
assert.strictEqual(message, '[object Object] could not be cloned.');
53+
assert.strictEqual(message, '#<Object> could not be cloned.');
5454
return new Error('foobar');
5555
});
5656

0 commit comments

Comments
 (0)