Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions t/13-errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);

#------------------------------------------------------------
Expand Down