X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_component.t;h=005015a7e2c93c92529eb7053da6298f2e066b08;hb=f5dfb6ffcafcb88c7072329e7ec45fef6e04d301;hp=2875f0c56c16efed94988368373fc9c3db7e8bfd;hpb=1c1bb322fd27968c04987a1b65c0144a99ba7284;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_component.t b/t/aggregate/unit_core_component.t index 2875f0c..005015a 100644 --- a/t/aggregate/unit_core_component.t +++ b/t/aggregate/unit_core_component.t @@ -45,6 +45,11 @@ is_deeply([ MyApp->comp('Foo') ], \@complist, 'Fallthrough return ok'); # multiple returns { +# FIXME: this cannot be found by looking only in the container. +# either the test must be changed, or the regexp must be run against +# $c->components() in Catalyst.pm + diag('this test will not work by searching the container'); + diag('check the source of this file for more info'); my @expected = sort qw( MyApp::C::Controller MyApp::M::Model ); my @got = sort MyApp->comp( qr{::[MC]::} ); is_deeply( \@got, \@expected, 'multiple results from regexp ok' );