@@ -36,15 +36,15 @@ common.expectWarning(
36
36
'Warning' ,
37
37
[
38
38
[ 'Count for \'noLabel\' does not exist' , common . noWarnCode ] ,
39
- [ 'No such label \'nolabel \' for console.timeLog()' , common . noWarnCode ] ,
40
- [ 'No such label \'nolabel \' for console.timeEnd()' , common . noWarnCode ] ,
39
+ [ 'No such label \'noLabel \' for console.timeLog()' , common . noWarnCode ] ,
40
+ [ 'No such label \'noLabel \' for console.timeEnd()' , common . noWarnCode ] ,
41
41
[ 'Label \'test\' already exists for console.time()' , common . noWarnCode ]
42
42
]
43
43
) ;
44
44
45
45
console . countReset ( 'noLabel' ) ;
46
- console . timeLog ( 'nolabel ' ) ;
47
- console . timeEnd ( 'nolabel ' ) ;
46
+ console . timeLog ( 'noLabel ' ) ;
47
+ console . timeEnd ( 'noLabel ' ) ;
48
48
49
49
console . time ( 'label' ) ;
50
50
console . timeEnd ( 'label' ) ;
@@ -247,6 +247,6 @@ common.hijackStderr(common.mustCall(function(data) {
247
247
248
248
// stderr.write will catch sync error, so use `process.nextTick` here
249
249
process . nextTick ( function ( ) {
250
- assert . strictEqual ( data . includes ( 'nolabel ' ) , true ) ;
250
+ assert . strictEqual ( data . includes ( 'noLabel ' ) , true ) ;
251
251
} ) ;
252
252
} ) ) ;
0 commit comments