@@ -416,9 +416,7 @@ test('results with errors', t => {
416416 indentString ( codeExcerpt ( err2Path , error2 . source . line ) , 2 ) . split ( '\n' ) ,
417417 '' ,
418418 indentString ( formatAssertError ( error2 ) , 2 ) . split ( '\n' ) ,
419- / e r r o r t w o m e s s a g e / ,
420- '' ,
421- stackLineRegex
419+ / e r r o r t w o m e s s a g e /
422420 ] ) ) ;
423421 t . end ( ) ;
424422} ) ;
@@ -474,9 +472,7 @@ test('results with errors and disabled code excerpts', t => {
474472 indentString ( codeExcerpt ( err2Path , error2 . source . line ) , 2 ) . split ( '\n' ) ,
475473 '' ,
476474 indentString ( formatAssertError ( error2 ) , 2 ) . split ( '\n' ) ,
477- / e r r o r t w o m e s s a g e / ,
478- '' ,
479- stackLineRegex
475+ / e r r o r t w o m e s s a g e /
480476 ] ) ) ;
481477 t . end ( ) ;
482478} ) ;
@@ -535,9 +531,7 @@ test('results with errors and disabled code excerpts', t => {
535531 indentString ( codeExcerpt ( err2Path , error2 . source . line ) , 2 ) . split ( '\n' ) ,
536532 '' ,
537533 indentString ( formatAssertError ( error2 ) , 2 ) . split ( '\n' ) ,
538- / e r r o r t w o m e s s a g e / ,
539- '' ,
540- stackLineRegex
534+ / e r r o r t w o m e s s a g e /
541535 ] ) ) ;
542536 t . end ( ) ;
543537} ) ;
@@ -597,9 +591,7 @@ test('results with errors and disabled assert output', t => {
597591 indentString ( codeExcerpt ( err2Path , error2 . source . line ) , 2 ) . split ( '\n' ) ,
598592 '' ,
599593 indentString ( formatAssertError ( error2 ) , 2 ) . split ( '\n' ) ,
600- / e r r o r t w o m e s s a g e / ,
601- '' ,
602- stackLineRegex
594+ / e r r o r t w o m e s s a g e /
603595 ] ) ) ;
604596 t . end ( ) ;
605597} ) ;
0 commit comments