Skip to content

Commit

Permalink
Tests: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
step2yeung committed Sep 6, 2018
1 parent e275321 commit 2537115
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/cli/fixtures/expected/tap-outputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ not ok 2 global failure
# fail 2
`,

"qunit no-tests":
"qunit no-tests":
`TAP version 13
not ok 1 global failure
---
Expand Down
8 changes: 4 additions & 4 deletions test/cli/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ QUnit.module( "CLI Main", function() {
} catch ( e ) {
assert.equal( e.code, 1 );
assert.equal( e.stderr, "" );
const re = new RegExp(expectedOutput[ command ]);
assert.equal( re.test(e.stdout), true );
const re = new RegExp( expectedOutput[ command ] );
assert.equal( re.test( e.stdout ), true );
}
} ) );

Expand Down Expand Up @@ -154,8 +154,8 @@ QUnit.module( "CLI Main", function() {
} catch ( e ) {
assert.equal( e.code, 1 );
assert.equal( e.stderr, "" );
const re = new RegExp(expectedOutput[ command ]);
assert.equal( re.test(e.stdout), true );
const re = new RegExp( expectedOutput[ command ] );
assert.equal( re.test( e.stdout ), true );
}
} ) );
} );
Expand Down

0 comments on commit 2537115

Please sign in to comment.