Skip to content

Commit

Permalink
Finish rebase + update console label
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Jul 4, 2018
1 parent ac53ee5 commit 033f41e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/parallel/test-console.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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);
});
}));

0 comments on commit 033f41e

Please sign in to comment.