Skip to content

Commit

Permalink
standard
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Aug 29, 2018
1 parent 5a0fd33 commit 967949d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function testFile (filePath, depth) {
// Inspect depth is optional
var basename = path.basename(filePath)
function test (t) {
fs.readFile(filePath, {encoding: 'utf8'}, function (err, data) {
fs.readFile(filePath, { encoding: 'utf8' }, function (err, data) {
t.error(err, 'read ' + basename + ' file without error ')

var formatted
Expand All @@ -27,7 +27,7 @@ function testFile (filePath, depth) {
t.equal(result.warningCount, 0, basename + ' warning free after formatting')
if (result.errorCount || result.warningCount !== 0) {
// If there is an issue, print the details
console.log(inspect(result, {depth: depth || null}))
console.log(inspect(result, { depth: depth || null }))
}
t.end()
})
Expand Down

0 comments on commit 967949d

Please sign in to comment.