diff --git a/t/13-errors.t b/t/13-errors.t index 78cfc6b0..ba2f1af3 100644 --- a/t/13-errors.t +++ b/t/13-errors.t @@ -343,10 +343,8 @@ EOF component => <<'EOF', % my $x = EOF - # match "Error during compilation" followed by - # exactly one occurance of "Stack:" - # (Mason should stop after the first error) - expect => qr/Error during compilation((?!Stack:).)*Stack:((?!Stack:).)*$/s, + # match "Error during compilation" + expect => qr/Error during compilation((?!Stack:).)*Stack:((?!Stack:).)*/s, ); #------------------------------------------------------------