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 25, 2019
1 parent f9929da commit 714776a
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 6 deletions.
57 changes: 53 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 714776a

Please sign in to comment.