+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
use strict;
use warnings;
use Test::More;
+use List::Util 'min';
-use lib qw(t/lib);
use DBICTest ':DiffSQL';
use DBIx::Class::SQLMaker::LimitDialects;
is_deeply(
$rs->all_hri,
- [ @{$hri_contents}[$offset .. List::Util::min( $used_limit+$offset-1, $#$hri_contents)] ],
+ [ @{$hri_contents}[$offset .. min( $used_limit+$offset-1, $#$hri_contents)] ],
"Correct slice of the resultset returned with limit '$limit', offset '$offset'",
);
}