Revision history for DBIx::Class
+ - tweak quotes test to output text on failure
- fix Schema->txn_do to not fail as a classmethod
0.06999_04 2006-06-29 20:18:47
my $warnings = '';
local $SIG{__WARN__} = sub { $warnings .= $_[0] };
my $first = eval{ $rs->first() };
- ok( $warnings =~ /ORDER BY terms/, "Problem with ORDER BY quotes" );
+ like( $warnings, qr/ORDER BY terms/, "Problem with ORDER BY quotes" );
}
my $order = 'year DESC';