X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_component.t;h=69ac6c0153a268d8219bbaa4b97db1680bc0820c;hb=d9d41c5af176289832bdb455ec18d3436cf69330;hp=9fb578a2574fd59e244f8a4ead9f186134c37590;hpb=fa7a60aac97d8a9501a2cdca54f519752c12731a;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_component.t b/t/aggregate/unit_core_component.t index 9fb578a..69ac6c0 100644 --- a/t/aggregate/unit_core_component.t +++ b/t/aggregate/unit_core_component.t @@ -1,4 +1,4 @@ -use Test::More tests => 23; +use Test::More tests => 22; use strict; use warnings; @@ -91,18 +91,3 @@ is_deeply([ MyApp->comp('Foo') ], \@complist, 'Fallthrough return ok'); is_deeply($args, [qw/foo3 bar3/], 'args passed to ACCEPT_CONTEXT ok'); } -# BUILDARGS logic -{ - { - package MyController; - @MyController::ISA = ('Catalyst::Controller'); - } - my $warning; - local $SIG{__WARN__} = sub { - $warning = shift; - diag($warning); - }; - my $controller = MyController->new('MyApp', undef); - like( $warning, qr/uninitialized value in string eq/, "no warning for == comparison"); - -}