Skip to content
This repository was archived by the owner on Mar 18, 2018. It is now read-only.

Commit 2a13952

Browse files
committed
const
1 parent 9eb9bca commit 2a13952

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/index.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const test = require('tape');
99
log.setMinLogLevel('debug');
1010

1111
test('log.debug() prints correctly', function (t) {
12-
var err = tc.stdout.inspectSync(function () {
12+
const err = tc.stdout.inspectSync(function () {
1313
log.debug('test_error');
1414
});
1515

@@ -18,7 +18,7 @@ test('log.debug() prints correctly', function (t) {
1818
});
1919

2020
test('log.info() prints correctly', function (t) {
21-
var err = tc.stdout.inspectSync(function () {
21+
const err = tc.stdout.inspectSync(function () {
2222
log.info('test_error');
2323
});
2424

@@ -27,7 +27,7 @@ test('log.info() prints correctly', function (t) {
2727
});
2828

2929
test('log.warn() prints correctly', function (t) {
30-
var err = tc.stderr.inspectSync(function () {
30+
const err = tc.stderr.inspectSync(function () {
3131
log.warn('test_error');
3232
});
3333

@@ -36,7 +36,7 @@ test('log.warn() prints correctly', function (t) {
3636
});
3737

3838
test('log.error() prints correctly', function (t) {
39-
var err = tc.stderr.inspectSync(function () {
39+
const err = tc.stderr.inspectSync(function () {
4040
log.error('test_error');
4141
});
4242

@@ -45,7 +45,7 @@ test('log.error() prints correctly', function (t) {
4545
});
4646

4747
test('log prints JSON correctly', function (t) {
48-
var err = tc.stderr.inspectSync(function () {
48+
const err = tc.stderr.inspectSync(function () {
4949
log.error('test_error', { a: 'b', c: 'd' });
5050
});
5151

0 commit comments

Comments
 (0)