[Dbix-class] DBIx::Class v0.06999_04 order by quotes test failure
Matt S Trout
dbix-class at trout.me.uk
Fri Jun 30 22:05:10 CEST 2006
Scott Karns wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> While attempting to build a DBIx::Class-0.06999_04 RPM I am encountering
> the "order by quotes error":
>
> t/19quotes......................ok 2/6
> # Failed test 'Problem with ORDER BY quotes'
> # in t/19quotes.t at line 34.
> t/19quotes......................NOK 3# Looks like you failed 1 test of 6.
>
> All other enabled tests pass.
>
> This is with perl 5.8.8. I've attached a file listing perl -V, @INC and
> installed module version info.
That tests for a warning.
Could you find
my $warnings = '';
local $SIG{__WARN__} = sub { $warnings .= $_[0] };
my $first = eval{ $rs->first() };
ok( $warnings =~ /ORDER BY terms/, "Problem with ORDER BY quotes" );
in the file and add
warn $warnings;
at the end of that block so we can see what you actually got?
--
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Dbix-class
mailing list