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-)],