diff --git a/test/parallel/test-console.js b/test/parallel/test-console.js index c103bfdc129841..6f06ea0954001f 100644 --- a/test/parallel/test-console.js +++ b/test/parallel/test-console.js @@ -36,15 +36,15 @@ common.expectWarning( 'Warning', [ ['Count for \'noLabel\' does not exist', common.noWarnCode], - ['No such label \'nolabel\' for console.timeLog()', common.noWarnCode], - ['No such label \'nolabel\' for console.timeEnd()', common.noWarnCode], + ['No such label \'noLabel\' for console.timeLog()', common.noWarnCode], + ['No such label \'noLabel\' for console.timeEnd()', common.noWarnCode], ['Label \'test\' already exists for console.time()', common.noWarnCode] ] ); console.countReset('noLabel'); -console.timeLog('nolabel'); -console.timeEnd('nolabel'); +console.timeLog('noLabel'); +console.timeEnd('noLabel'); console.time('label'); console.timeEnd('label'); @@ -247,6 +247,6 @@ common.hijackStderr(common.mustCall(function(data) { // stderr.write will catch sync error, so use `process.nextTick` here process.nextTick(function() { - assert.strictEqual(data.includes('nolabel'), true); + assert.strictEqual(data.includes('noLabel'), true); }); }));