X-Git-Url: http://git.shiar.nl/perl/list-index.git/blobdiff_plain/b9c565b77b8ac8f8856c6af118a1e1af5b917c24..97973476dd225680059f6b58a12cef3ef950ffde:/t/10-ranges.t diff --git a/t/10-ranges.t b/t/10-ranges.t index efe64b3..a394945 100644 --- a/t/10-ranges.t +++ b/t/10-ranges.t @@ -133,12 +133,12 @@ subtest 'distribution' => sub { my $index = List::Index->new({ pagesize => 10 }) or return; is_deeply( - $index->ranges(\@data, { context => 8 }), + $index->ranges(\@data, { context => 7 }), [qw(-g h i-)], 'large context' ); is_deeply( - $index->ranges(\@data, { context => 7 }), + $index->ranges(\@data, { context => 6 }), # after 2nd page is enlarged by lookbehind to 'h', limit subsequent lookahead # to prevent the page from getting too large (17 entries if forwarded to 'i') [qw(-g h-hm hn-)],