Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test: accept differently formatted output (#1327)
  • Loading branch information
BridgeAR authored and bcoe committed Apr 8, 2019
1 parent ac3f10c commit c294d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/yargs.js
Expand Up @@ -522,7 +522,7 @@ describe('yargs dsl tests', () => {
builder (yargs) { return yargs },
handler (argv) {}
})
}).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| )}/)
})
})

Expand Down

0 comments on commit c294d1b

Please sign in to comment.