diff options
Diffstat (limited to 'test/parallel/test-console.js')
-rw-r--r-- | test/parallel/test-console.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-console.js b/test/parallel/test-console.js index 92e66596d7..f781d61994 100644 --- a/test/parallel/test-console.js +++ b/test/parallel/test-console.js @@ -174,7 +174,7 @@ console.timeEnd(); console.time(NaN); console.timeEnd(NaN); -// make sure calling time twice without timeEnd doesn't reset the timer. +// Make sure calling time twice without timeEnd doesn't reset the timer. console.time('test'); const time = console._times.get('test'); setTimeout(() => { @@ -248,7 +248,7 @@ assert.ok(/^__proto__: \d+\.\d{3}ms$/.test(strings.shift().trim())); assert.ok(/^constructor: \d+\.\d{3}ms$/.test(strings.shift().trim())); assert.ok(/^hasOwnProperty: \d+\.\d{3}ms$/.test(strings.shift().trim())); -// verify that console.time() coerces label values to strings as expected +// Verify that console.time() coerces label values to strings as expected assert.ok(/^: \d+\.\d{3}ms$/.test(strings.shift().trim())); assert.ok(/^\[object Object\]: \d+\.\d{3}ms$/.test(strings.shift().trim())); assert.ok(/^\[object Object\]: \d+\.\d{3}ms$/.test(strings.shift().trim())); |