Skip to content

Commit

Permalink
fix(tests): normalize path in cli.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hdoro committed Oct 11, 2021
1 parent a9b58d7 commit c2bc162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ tap.test('shows stack trace with --debug', async (t) => {
t.equal(exitCode, 1, 'should have exit code 1')
t.equal(stdout, '', 'should have empty stdout')
t.match(stderr, 'only one can be used at a time')
t.match(stderr, '/cmds/version.js:')
t.match(stderr, path.normalize('/cmds/version.js'))
})

0 comments on commit c2bc162

Please sign in to comment.