summaryrefslogtreecommitdiff
path: root/test/parallel/test-console.js
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2016-03-04 14:15:42 -0800
committerMichaƫl Zasso <targos@protonmail.com>2016-06-29 10:44:25 +0200
commit9940766f8a09c2eec06f582cbb0b4883f601be89 (patch)
treee3d83b0883e2aeae1751707c5cdc3522f4332b6a /test/parallel/test-console.js
parenta33909e1074c91c468ce75df3979c244b1f7cc0f (diff)
downloadandroid-node-v8-9940766f8a09c2eec06f582cbb0b4883f601be89.tar.gz
android-node-v8-9940766f8a09c2eec06f582cbb0b4883f601be89.tar.bz2
android-node-v8-9940766f8a09c2eec06f582cbb0b4883f601be89.zip
test: fix tests after V8 upgrade
* Changes to messages. * V8 enabled proxy support by default. The --harmony_proxies flag is now gone. PR-URL: https://github.com/nodejs/node/pull/6482 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/parallel/test-console.js')
-rw-r--r--test/parallel/test-console.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-console.js b/test/parallel/test-console.js
index 6db6991108..2c8a498a33 100644
--- a/test/parallel/test-console.js
+++ b/test/parallel/test-console.js
@@ -111,8 +111,8 @@ for (const expected of expectedStrings) {
assert.equal(expected + '\n', errStrings.shift()); // console.warn (stderr)
}
-assert.equal("{ foo: 'bar', inspect: [Function] }\n", strings.shift());
-assert.equal("{ foo: 'bar', inspect: [Function] }\n", strings.shift());
+assert.equal("{ foo: 'bar', inspect: [Function: inspect] }\n", strings.shift());
+assert.equal("{ foo: 'bar', inspect: [Function: inspect] }\n", strings.shift());
assert.notEqual(-1, strings.shift().indexOf('foo: [Object]'));
assert.equal(-1, strings.shift().indexOf('baz'));
assert.ok(/^label: \d+\.\d{3}ms$/.test(strings.shift().trim()));