another test fix for macos

This commit is contained in:
oleg 2015-06-13 22:38:38 +03:00
parent b95dbd6bfa
commit 04fc464a52

View File

@ -40,7 +40,8 @@ describe('Shell command', function() {
shellCommand.run({cmd: 'echo1 "Hello world"'}, function(err) {
expect(err).ok();
expect(err).an(Error);
expect(err.message).contain('echo1: not found');
expect(err.message).contain('echo1:');
expect(err.message).contain('not found');
expect(std.err).equal('');
expect(std.out).equal('');
done();