- my $ro = PublicInbox::Search->new($ibx);
- my $msgs = $ro->query("gmane:1234");
- is_deeply([map { $_->mid } @$msgs], ['a@example.com'], 'got one match');
+ my $mset = $ibx->search->mset("gmane:1234");
+ my $msgs = $ibx->search->mset_to_smsg($ibx, $mset);
+ $msgs = [ map { $_->{mid} } @$msgs ];
+ is_deeply($msgs, ['a@example.com'], 'got one match');