# This file documents the revision history for Perl extension Catalyst.
+5.90079_003 - 2014-12-03
+ - Make sure all tests run even if debug mode is enabled.
+ - Fixed issue with middleware stash test case that failed on older Perls
+
5.90079_002 - 2014-12-02
- Fixed typo in Makefile.PL which borked the previous distribution. No other
changes.
__PACKAGE__->_encode_check(Encode::FB_CROAK | Encode::LEAVE_SRC);
# Remember to update this in Catalyst::Runtime as well!
-our $VERSION = '5.90079_002';
+our $VERSION = '5.90079_003';
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
sub import {
# Remember to update this in Catalyst as well!
-our $VERSION = '5.90079_002';
+our $VERSION = '5.90079_003';
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
=head1 NAME
$c->stash->{inner} = "inner";
$c->res->body( "inner: ${\$c->stash->{inner}}, outer: ${\$c->stash->{outer}}");
+ use Devel::Dwarn;
+ my $stash = $c->stash;
+ Dwarn $stash;
+
is_deeply [sort {$a cmp $b} keys($c->stash)], ['inner','outer'], 'both keys in stash';
}
my $res = $cb->(GET "/log/info");
my @logs = $handle->logs;
cmp_ok(scalar(@logs), $cmp, 1, "psgi.errors: one event output");
- like($logs[0], qr/info$/m, "psgi.errors: event matches test data");
+ like($logs[0], qr/info$/m, "psgi.errors: event matches test data") unless TestApp->debug;
};
};
$SIG{__WARN__} = sub {
my $error = shift;
- Test::More::is($error, "You called ->params with an undefined value at t/undef-params.t line 20.\n");
+ Test::More::is($error, "You called ->params with an undefined value at t/undef-params.t line 20.\n")
+ unless MyApp->debug;
};
MyApp->setup, 'setup app';