Skip to content

Commit c4bd3e2

Browse files
committed
Fix: Run command use 7za binary #2
1 parent 558729c commit c4bd3e2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/util.run.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ var expect = require('chai').expect;
33
var run = require('../util/run');
44

55
describe('Utility: `run`', function () {
6-
6+
77
it('should return an error with invalid command type', function (done) {
88
run(0).catch(function (err) {
99
expect(err.message).to.eql('Command must be a string');
1010
done();
1111
});
1212
});
13-
13+
1414
it('should return an error on when 7z gets one', function (done) {
15-
run('7z ?').catch(function (err) {
15+
run('7za ?').catch(function (err) {
1616
expect(err.message).to.eql('Incorrect command line');
1717
done();
1818
});
1919
});
20-
20+
2121
it('should return an stdout on progress', function (done) {
22-
run('7z')
22+
run('7za')
2323
.progress(function (data) {
2424
expect(data).to.be.a('string');
2525
})
2626
.then(function () {
2727
done();
2828
});
2929
});
30-
31-
});
30+
31+
});

0 commit comments

Comments
 (0)