diff options
Diffstat (limited to 'test/sequential/test-inspector.js')
-rw-r--r-- | test/sequential/test-inspector.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/sequential/test-inspector.js b/test/sequential/test-inspector.js index 23b4dcb961..4e0315807b 100644 --- a/test/sequential/test-inspector.js +++ b/test/sequential/test-inspector.js @@ -11,8 +11,9 @@ function checkListResponse(response) { assert.strictEqual(1, response.length); assert.ok(response[0].devtoolsFrontendUrl); assert.ok( - /ws:\/\/127\.0\.0\.1:\d+\/[0-9A-Fa-f]{8}-/ - .test(response[0].webSocketDebuggerUrl)); + /ws:\/\/localhost:\d+\/[0-9A-Fa-f]{8}-/ + .test(response[0].webSocketDebuggerUrl), + response[0].webSocketDebuggerUrl); } function checkVersion(response) { |