Index: test/inspector/runtime/console-assert.js |
diff --git a/test/inspector/runtime/console-assert.js b/test/inspector/runtime/console-assert.js |
index 64be5e23d33807d88e6264b2b21613e2ce3304f0..355149b2e8709d97e2597bf85112bd386267400b 100644 |
--- a/test/inspector/runtime/console-assert.js |
+++ b/test/inspector/runtime/console-assert.js |
@@ -2,9 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-InspectorTest.log("Checks that console.assert works and points to correct call frame."); |
+let {session, contextGroup, Protocol} = InspectorTest.start("Checks that console.assert works and points to correct call frame."); |
-InspectorTest.addScript(` |
+contextGroup.addScript(` |
function testFunction() { |
Function.prototype.apply = () => console.error('Should never call this'); |
console.assert(true); |