use warnings;
use mro 'c3';
use base qw/
- DBIx::Class::Storage::DBI
DBIx::Class::Storage::DBI::Sybase::Base
+ DBIx::Class::Storage::DBI
/;
use Carp::Clan qw/^DBIx::Class/;
use strict;
use warnings;
+no warnings 'uninitialized';
use Test::More;
use Test::Exception;
ok(!$@, "inserted $size $type without dying");
diag $@ if $@;
- ok(eval {
+ my $got = eval {
$rs->search({ id=> $id }, { select => [$type] })->single->$type
- } eq $binstr{$size}, "verified inserted $size $type" );
+ };
diag $@ if $@;
+ ok($got eq $binstr{$size}, "verified inserted $size $type");
}
}