mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-02-11 03:09:16 +00:00
do not strict shell error message check for being more other os friendly(hello macos)
This commit is contained in:
parent
1f924d290d
commit
b95dbd6bfa
@ -40,9 +40,7 @@ describe('Shell command', function() {
|
|||||||
shellCommand.run({cmd: 'echo1 "Hello world"'}, function(err) {
|
shellCommand.run({cmd: 'echo1 "Hello world"'}, function(err) {
|
||||||
expect(err).ok();
|
expect(err).ok();
|
||||||
expect(err).an(Error);
|
expect(err).an(Error);
|
||||||
expect(err.message).equal(
|
expect(err.message).contain('echo1: not found');
|
||||||
'Spawned command outputs to stderr: /bin/sh: 1: echo1: not found\n'
|
|
||||||
);
|
|
||||||
expect(std.err).equal('');
|
expect(std.err).equal('');
|
||||||
expect(std.out).equal('');
|
expect(std.out).equal('');
|
||||||
done();
|
done();
|
||||||
|
Loading…
Reference in New Issue
Block a user