Skip to content

Commit

Permalink
test: fix V8 serdes test for V8 9.1
Browse files Browse the repository at this point in the history
Refs: v8/v8@40e499c

PR-URL: #38273
Backport-PR-URL: #38991
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Mary Marchini <oss@mmarchini.me>
  • Loading branch information
targos committed Jun 14, 2021
1 parent 2a292cf commit 32961c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-v8-serdes.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const hostObject = new (internalBinding('js_stream').JSStream)();
{
const ser = new v8.DefaultSerializer();
ser._getDataCloneError = common.mustCall((message) => {
assert.strictEqual(message, '[object Object] could not be cloned.');
assert.strictEqual(message, '#<Object> could not be cloned.');
return new Error('foobar');
});

Expand Down

0 comments on commit 32961c4

Please sign in to comment.