X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fsearch.t;h=f026e5093c9176d00f7bd39487d919caff6baa27;hp=e2290ecd8a24600709302871913ae0ed3b843f4b;hb=d73d783ab2cf14ba28ca63723223d8c85a68cdd5;hpb=2b52961cb0e77fc1645cc91318e3518f883313a3 diff --git a/t/search.t b/t/search.t index e2290ecd..f026e509 100644 --- a/t/search.t +++ b/t/search.t @@ -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");