making unit_core_component.t work
[catagits/Catalyst-Runtime.git] / t / aggregate / unit_core_component.t
index 2875f0c..005015a 100644 (file)
@@ -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' );