X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FTestApp%2FView%2FDump.pm;h=43cc976a1a10280dff16a104538f7d17e5dd3c82;hb=0eb98ebd1624e8181a4bd88c26605f2a0f1c91d7;hp=d7cc1a2a2a9c1b04332ad9314258ae90b8fbf751;hpb=6721fe5a8b96245412a26f17488d8be6116a2d7d;p=catagits%2FCatalyst-Runtime.git diff --git a/t/lib/TestApp/View/Dump.pm b/t/lib/TestApp/View/Dump.pm index d7cc1a2..43cc976 100644 --- a/t/lib/TestApp/View/Dump.pm +++ b/t/lib/TestApp/View/Dump.pm @@ -18,9 +18,10 @@ sub dump { $dumper->Purity($purity); $dumper->Useqq(0); $dumper->Deepcopy(1); - $dumper->Quotekeys(0); + $dumper->Quotekeys(1); $dumper->Terse(1); + local $SIG{ __WARN__ } = sub { warn unless $_[ 0 ] =~ m{dummy} }; return $dumper->Dump; } @@ -38,6 +39,10 @@ sub process { # Remove context from reference if needed my $context = delete $reference->{_context}; + if (my $log = $reference->{_log}) { + $log->clear_psgienv if $log->can('psgienv'); + } + if ( my $output = $self->dump( $reference, $purity ) ) {