File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ for (i = 0; i < limit; i++) {
65
65
r . pipe ( w ) ;
66
66
r . emit ( 'end' ) ;
67
67
}
68
- assert . strictEqual ( 0 , r . listeners ( 'end' ) . length ) ;
69
- assert . strictEqual ( limit , w . endCalls ) ;
68
+ assert . strictEqual ( r . listeners ( 'end' ) . length , 0 ) ;
69
+ assert . strictEqual ( w . endCalls , limit ) ;
70
70
71
71
w . endCalls = 0 ;
72
72
@@ -75,8 +75,8 @@ for (i = 0; i < limit; i++) {
75
75
r . pipe ( w ) ;
76
76
r . emit ( 'close' ) ;
77
77
}
78
- assert . strictEqual ( 0 , r . listeners ( 'close' ) . length ) ;
79
- assert . strictEqual ( limit , w . endCalls ) ;
78
+ assert . strictEqual ( r . listeners ( 'close' ) . length , 0 ) ;
79
+ assert . strictEqual ( w . endCalls , limit ) ;
80
80
81
81
w . endCalls = 0 ;
82
82
@@ -87,7 +87,7 @@ for (i = 0; i < limit; i++) {
87
87
r . pipe ( w ) ;
88
88
w . emit ( 'close' ) ;
89
89
}
90
- assert . strictEqual ( 0 , w . listeners ( 'close' ) . length ) ;
90
+ assert . strictEqual ( w . listeners ( 'close' ) . length , 0 ) ;
91
91
92
92
r = new Readable ( ) ;
93
93
w = new Writable ( ) ;
You can’t perform that action at this time.
0 commit comments