@@ -9,7 +9,7 @@ const test = require('tape');
9
9
log . setMinLogLevel ( 'debug' ) ;
10
10
11
11
test ( 'log.debug() prints correctly' , function ( t ) {
12
- var err = tc . stdout . inspectSync ( function ( ) {
12
+ const err = tc . stdout . inspectSync ( function ( ) {
13
13
log . debug ( 'test_error' ) ;
14
14
} ) ;
15
15
@@ -18,7 +18,7 @@ test('log.debug() prints correctly', function (t) {
18
18
} ) ;
19
19
20
20
test ( 'log.info() prints correctly' , function ( t ) {
21
- var err = tc . stdout . inspectSync ( function ( ) {
21
+ const err = tc . stdout . inspectSync ( function ( ) {
22
22
log . info ( 'test_error' ) ;
23
23
} ) ;
24
24
@@ -27,7 +27,7 @@ test('log.info() prints correctly', function (t) {
27
27
} ) ;
28
28
29
29
test ( 'log.warn() prints correctly' , function ( t ) {
30
- var err = tc . stderr . inspectSync ( function ( ) {
30
+ const err = tc . stderr . inspectSync ( function ( ) {
31
31
log . warn ( 'test_error' ) ;
32
32
} ) ;
33
33
@@ -36,7 +36,7 @@ test('log.warn() prints correctly', function (t) {
36
36
} ) ;
37
37
38
38
test ( 'log.error() prints correctly' , function ( t ) {
39
- var err = tc . stderr . inspectSync ( function ( ) {
39
+ const err = tc . stderr . inspectSync ( function ( ) {
40
40
log . error ( 'test_error' ) ;
41
41
} ) ;
42
42
@@ -45,7 +45,7 @@ test('log.error() prints correctly', function (t) {
45
45
} ) ;
46
46
47
47
test ( 'log prints JSON correctly' , function ( t ) {
48
- var err = tc . stderr . inspectSync ( function ( ) {
48
+ const err = tc . stderr . inspectSync ( function ( ) {
49
49
log . error ( 'test_error' , { a : 'b' , c : 'd' } ) ;
50
50
} ) ;
51
51
0 commit comments