@@ -36,7 +36,7 @@ tap.test('async2', function (t) {
36
36
runProgram ( 'async-await' , 'async2.js' , function ( r ) {
37
37
var stdout = r . stdout . toString ( 'utf8' ) ;
38
38
var lines = stdout . split ( '\n' ) . filter ( function ( line ) {
39
- return ! / ^ ( \s + ) a t ( \s + ) < a n o n y m o u s > $ / . test ( line ) ;
39
+ return ! ( / ^ ( \s + ) a t ( \s + ) < a n o n y m o u s > $ / ) . test ( line ) ;
40
40
} ) ;
41
41
42
42
t . same ( stripFullStack ( lines . join ( '\n' ) ) , [
@@ -184,9 +184,9 @@ tap.test('sync-error', function (t) {
184
184
var stderr = r . stderr . toString ( 'utf8' ) ;
185
185
var lines = stderr . split ( '\n' ) ;
186
186
lines = lines . filter ( function ( line ) {
187
- return ! / \( t i m e r s .j s : / . test ( line )
188
- && ! / \( i n t e r n a l \/ t i m e r s .j s : / . test ( line )
189
- && ! / I m m e d i a t e \. n e x t / . test ( line ) ;
187
+ return ! ( / \( t i m e r s .j s : / ) . test ( line )
188
+ && ! ( / \( i n t e r n a l \/ t i m e r s .j s : / ) . test ( line )
189
+ && ! ( / I m m e d i a t e \. n e x t / ) . test ( line ) ;
190
190
} ) ;
191
191
stderr = lines . join ( '\n' ) ;
192
192
@@ -211,7 +211,7 @@ tap.test('async-error', function (t) {
211
211
var stdout = r . stdout . toString ( 'utf8' ) ;
212
212
var lines = stdout . split ( '\n' ) ;
213
213
lines = lines . filter ( function ( line ) {
214
- return ! / ^ ( \s + ) a t ( \s + ) < a n o n y m o u s > $ / . test ( line ) ;
214
+ return ! ( / ^ ( \s + ) a t ( \s + ) < a n o n y m o u s > $ / ) . test ( line ) ;
215
215
} ) ;
216
216
stdout = lines . join ( '\n' ) ;
217
217
@@ -240,9 +240,9 @@ tap.test('async-error', function (t) {
240
240
var stderr = r . stderr . toString ( 'utf8' ) ;
241
241
var lines = stderr . split ( '\n' ) ;
242
242
lines = lines . filter ( function ( line ) {
243
- return ! / \( t i m e r s .j s : / . test ( line )
244
- && ! / \( i n t e r n a l \/ t i m e r s .j s : / . test ( line )
245
- && ! / I m m e d i a t e \. n e x t / . test ( line ) ;
243
+ return ! ( / \( t i m e r s .j s : / ) . test ( line )
244
+ && ! ( / \( i n t e r n a l \/ t i m e r s .j s : / ) . test ( line )
245
+ && ! ( / I m m e d i a t e \. n e x t / ) . test ( line ) ;
246
246
} ) ;
247
247
stderr = lines . join ( '\n' ) ;
248
248
@@ -256,7 +256,7 @@ tap.test('async-bug', function (t) {
256
256
var stdout = r . stdout . toString ( 'utf8' ) ;
257
257
var lines = stdout . split ( '\n' ) ;
258
258
lines = lines . filter ( function ( line ) {
259
- return ! / ^ ( \s + ) a t ( \s + ) < a n o n y m o u s > $ / . test ( line ) ;
259
+ return ! ( / ^ ( \s + ) a t ( \s + ) < a n o n y m o u s > $ / ) . test ( line ) ;
260
260
} ) ;
261
261
stdout = lines . join ( '\n' ) ;
262
262
0 commit comments