Subject: | Broken test in Catalyst::Runtime 5.71000 |
Date: | Tue, 17 Feb 2009 15:30:01 -0800 |
To: | bug-catalyst-runtime [...] rt.cpan.org |
From: | William Arnold <william.arnold [...] oracle.com> |
In 't/unit_core_component', the following change had to be made to pass
'make test':
# multiple returns
{
+ my @expected = qw( MyApp::M::Model MyApp::C::Controller );
- my @expected = qw( MyApp::C::Controller MyApp::M::Model );
is_deeply( [ MyApp->comp( qr{::[MC]::} ) ], \@expected, 'multiple
results fro regexp ok' );
}
The test probably shouldn't depend on the order of the elements returned
by the search, just that all the needed ones are returned.
Oh, and there's a typo in the test name too. 'fro' -> 'for' or 'from',
not sure which you meant.