cleanup context variables
[perl/list-index.git] / t / 10-ranges.t
index efe64b37d64c29d6fd732501b2e93e1233b22ed8..a3949453e05ef770b19bdadb884ff6a09feeb283 100644 (file)
@@ -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-)],