From 04fc464a526e07854cd810c474b075a362ec02c1 Mon Sep 17 00:00:00 2001 From: oleg Date: Sat, 13 Jun 2015 22:38:38 +0300 Subject: [PATCH] another test fix for macos --- test/commands/shell.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/commands/shell.js b/test/commands/shell.js index 4997568..24de425 100644 --- a/test/commands/shell.js +++ b/test/commands/shell.js @@ -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();