File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,29 +3,29 @@ var expect = require('chai').expect;
33var run = require ( '../util/run' ) ;
44
55describe ( '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+ } ) ;
You can’t perform that action at this time.
0 commit comments