Skip to content

Commit bda4108

Browse files
do not permit warn handlers to swallow these messages
1 parent 3bd07ee commit bda4108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/lib/Acceptance.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ sub acceptance_tests (%options) {
5757
# to count that as a failure (an exception would be caught and perhaps TODO'd).
5858
# (This might change if tests are added that are expected to produce exceptions.)
5959
foreach my $r ($result, ($ENV{NO_SHORT_CIRCUIT} ? () : $result_short)) {
60-
warn('evaluation generated an exception: '.$encoder->encode($_))
60+
print STDERR 'evaluation generated an exception: '.$encoder->encode($_)
6161
foreach
6262
grep +($_->{error} =~ /^EXCEPTION/
6363
&& $_->{error} !~ /but short_circuit is enabled/ # unevaluated*

0 commit comments

Comments
 (0)