@@ -460,8 +460,7 @@ test('unified-args', function(t) {
460460 var expected = [
461461 'Watching... (press CTRL+C to exit)' ,
462462 'watch.txt: no issues found' ,
463- 'watch.txt: no issues found' ,
464- ''
463+ 'watch.txt: no issues found'
465464 ] . join ( '\n' )
466465 var doc = join ( cwd , 'watch.txt' )
467466 var delay = 3000
@@ -486,7 +485,7 @@ test('unified-args', function(t) {
486485 resolved = true
487486 rm ( doc )
488487 st . deepEqual (
489- [ res . stdout , strip ( res . stderr ) ] ,
488+ [ res . stdout , strip ( res . stderr ) . trim ( ) ] ,
490489 [ '' , expected ] ,
491490 'should work'
492491 )
@@ -509,14 +508,13 @@ test('unified-args', function(t) {
509508 'Watching... (press CTRL+C to exit)' ,
510509 'Note: Ignoring `--output` until exit.' ,
511510 'watch.txt: no issues found' ,
512- 'watch.txt: no issues found' ,
513- ''
511+ 'watch.txt: no issues found'
514512 ]
515513
516514 // Windows immediatly quits.
517515 // Other OSes support cleaning up things.
518516 if ( process . platform !== 'win32' ) {
519- lines . push ( 'watch.txt: written' )
517+ lines . push ( '' , ' watch.txt: written')
520518 }
521519
522520 var expected = lines . join ( '\n' )
0 commit comments