From: Tomas Doran Date: Tue, 21 Apr 2009 23:20:02 +0000 (+0000) Subject: Changelog, use stdout in tests to be less noisy X-Git-Tag: 5.80002~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=4cb5d29f864badfa3f6491193875357f86ba9142 Changelog, use stdout in tests to be less noisy --- diff --git a/Changes b/Changes index 8ab23f1..3b5d59b 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ # This file documents the revision history for Perl extension Catalyst. + - Fix CATALYST_DEBUG and MYAPP_DEBUG environment variables + turning debuging on if defined, rather than if set. + They now force debugging on or off, taking precedence over + configuration in your application. (t0m) + - Tests for this (t0m) - pass replace_constructor to the immutable call to ensure applications get a Moose constructor rather than a C::A one diff --git a/t/unit_core_setup_log.t b/t/unit_core_setup_log.t index fe3e15e..ffb2859 100644 --- a/t/unit_core_setup_log.t +++ b/t/unit_core_setup_log.t @@ -8,7 +8,7 @@ use Catalyst (); sub mock_app { my $name = shift; - warn("Setting up mock application: $name\n"); + print "Setting up mock application: $name\n"; my $meta = Moose->init_meta( for_class => $name ); $meta->superclasses('Catalyst'); return $meta->name;