Skip to content

Commit

Permalink
test: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Nov 26, 2019
1 parent f9929da commit b45a2f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test.program.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ describe('program.Program', () => {
const program = new Program(['buld']);
return execProgram(program)
.then(makeSureItFails())
.catch(onlyInstancesOf(UsageError, (error) => {
.catch((error) => {
assert.match(error.message, /Did you mean build/);
}));
});
});

it('exits 1 on a thrown error', () => {
Expand Down

0 comments on commit b45a2f7

Please sign in to comment.