]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/search.t
disambiguate OverIdx and Over by field name
[public-inbox.git] / t / search.t
index e2290ecd8a24600709302871913ae0ed3b843f4b..f026e5093c9176d00f7bd39487d919caff6baa27 100644 (file)
@@ -161,7 +161,7 @@ are real
 EOF
        my $ghost_id = $rw->add_message($was_ghost);
        is($ghost_id, int($ghost_id), "ghost_id is an integer: $ghost_id");
-       my $msgs = $rw->{over}->get_thread('ghost-message@s');
+       my $msgs = $rw->{oidx}->get_thread('ghost-message@s');
        is(scalar(@$msgs), 2, 'got both messages in ghost thread');
        foreach (qw(sid tid)) {
                is($msgs->[0]->{$_}, $msgs->[1]->{$_}, "{$_} match");