diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-03-27 16:36:51 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-06-14 08:12:42 +0200 |
commit | 32961c478175431a2896c67c6005aebe6ba06589 (patch) | |
tree | 62bb2ec4f8db720db5fbb12ba9e52535b40decea /test | |
parent | 2a292cf574188331fdfb612d4fc6087c087e51ba (diff) | |
download | node-new-32961c478175431a2896c67c6005aebe6ba06589.tar.gz |
test: fix V8 serdes test for V8 9.1
Refs: https://github.com/v8/v8/commit/40e499cd28b2f21652f4b05a35a146c498e86a39
PR-URL: https://github.com/nodejs/node/pull/38273
Backport-PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-v8-serdes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-v8-serdes.js b/test/parallel/test-v8-serdes.js index 1d3b6ff811..4dffedd3c3 100644 --- a/test/parallel/test-v8-serdes.js +++ b/test/parallel/test-v8-serdes.js @@ -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'); }); |