@@ -83,9 +83,9 @@ test('basic installation', (t) => {
8383      const  stdout  =  ret [ 1 ] 
8484      const  stderr  =  ret [ 2 ] 
8585      t . equal ( code ,  0 ,  'command completed without error' ) 
86-       t . equal ( stdout . trim ( ) ,  '' ,  'no output on stdout ' ) 
86+       t . equal ( stderr . trim ( ) ,  '' ,  'no output on stderr ' ) 
8787      t . match ( 
88-         stderr . trim ( ) , 
88+         stdout . trim ( ) , 
8989        / ^ a d d e d   6   p a c k a g e s   i n   \d + (?: \. \d + ) ? s $ / , 
9090        'no warnings on stderr, and final output has right number of packages' 
9191      ) 
@@ -150,9 +150,9 @@ test('supports npm-shrinkwrap.json as well', (t) => {
150150      const  stdout  =  ret [ 1 ] 
151151      const  stderr  =  ret [ 2 ] 
152152      t . equal ( code ,  0 ,  'command completed without error' ) 
153-       t . equal ( stdout . trim ( ) ,  '' ,  'no output on stdout ' ) 
153+       t . equal ( stderr . trim ( ) ,  '' ,  'no output on stderr ' ) 
154154      t . match ( 
155-         stderr . trim ( ) , 
155+         stdout . trim ( ) , 
156156        / ^ a d d e d   6   p a c k a g e s   i n   \d + (?: \. \d + ) ? s $ / , 
157157        'no warnings on stderr, and final output has right number of packages' 
158158      ) 
@@ -197,10 +197,8 @@ test('removes existing node_modules/ before installing', (t) => {
197197    ] ,  EXEC_OPTS ) ) 
198198    . then ( ( ret )  =>  { 
199199      const  code  =  ret [ 0 ] 
200-       const  stdout  =  ret [ 1 ] 
201200      const  stderr  =  ret [ 2 ] 
202201      t . equal ( code ,  0 ,  'command completed without error' ) 
203-       t . equal ( stdout . trim ( ) ,  '' ,  'no output on stdout' ) 
204202      t . match ( 
205203        stderr . trim ( ) , 
206204        / ^ n p m .* W A R N .* r e m o v i n g   e x i s t i n g   n o d e _ m o d u l e s / , 
0 commit comments