From c4300d038ededf9e3ff67b70725d5a81d6288619 Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Mon, 17 Oct 2022 12:36:42 +0000 Subject: [PATCH] Relax test expectation To accommodate change in Perl 5 exception output. For: https://github.com/houseabsolute/HTML-Mason/issues/33 --- t/13-errors.t | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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, ); #------------------------------------------------------------