Skip to content

Commit b8bcf94

Browse files
committed
fix(tests): replace doesNotHave with notMatch
1 parent c47686d commit b8bcf94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tap.test('shows no stack trace without --debug', async (t) => {
3939
t.equal(exitCode, 1, 'should have exit code 1')
4040
t.equal(stdout, '', 'should have empty stdout')
4141
t.match(stderr, 'only one can be used at a time')
42-
t.doesNotHave(stderr, normalize('/cmds/version.js:'))
42+
t.notMatch(stderr, normalize('/cmds/version.js:'))
4343
})
4444

4545
tap.test('shows stack trace with --debug', async (t) => {

0 commit comments

Comments
 (0)