We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac3f10c commit c294d1bCopy full SHA for c294d1b
test/yargs.js
@@ -522,7 +522,7 @@ describe('yargs dsl tests', () => {
522
builder (yargs) { return yargs },
523
handler (argv) {}
524
})
525
- }).to.throw(/No command name given for module: { desc: 'A command with no name',\n {2}builder: \[Function(: builder)?],\n {2}handler: \[Function(: handler)?] }/)
+ }).to.throw(/No command name given for module: {(\n )? desc: 'A command with no name',\n {2}builder: \[Function(: builder)?],\n {2}handler: \[Function(: handler)?](\n| )}/)
526
527
528
0 commit comments