diff options
Diffstat (limited to 'test/sequential/test-inspector-module.js')
-rw-r--r-- | test/sequential/test-inspector-module.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sequential/test-inspector-module.js b/test/sequential/test-inspector-module.js index 26bb7fe926..010f03c6e4 100644 --- a/test/sequential/test-inspector-module.js +++ b/test/sequential/test-inspector-module.js @@ -5,6 +5,7 @@ const common = require('../common'); common.skipIfInspectorDisabled(); const { Session } = require('inspector'); +const { inspect } = require('util'); const session = new Session(); @@ -52,7 +53,7 @@ session.post('Runtime.evaluate', { expression: '2 + 2' }); { code: 'ERR_INVALID_CALLBACK', type: TypeError, - message: 'Callback must be a function' + message: `Callback must be a function. Received ${inspect(i)}` } ); }); |