Skip to content

Commit

Permalink
Fix matcher to cover both node 0.10 and 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mnatsu31 committed Jan 28, 2016
1 parent 79b324b commit 96e8d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util/run.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ describe('Utility: `run`', function () {

it('should handle error when the command could not be found', function (done) {
run('7zxxx a ".tmp/test/archive.7z" "*.exe" "*.dll"').catch(function (err) {
expect(err.message).to.eql('spawn 7zxxx ENOENT');
expect(err.message).to.contain('ENOENT');
done();
});
});
Expand Down

0 comments on commit 96e8d09

Please sign in to comment.