Skip to content

Commit

Permalink
chore: review
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Jun 26, 2023
1 parent 438a027 commit 0ebc824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parser/parse.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ describe('parse', () => {
await parse(['--myflag', '-s', 'value'], {
flags: {myflag: Flags.string({required: true}), second: Flags.string({char: 's'})},
})
assert.fail('should have thrown')
} catch (error) {
expect((error as CLIError).message).to.include('Flag --myflag expects a value')
}
Expand Down

0 comments on commit 0ebc824

Please sign in to comment.