]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/altid.t
smsg: remove remaining accessor methods
[public-inbox.git] / t / altid.t
index 670a39633755149c3260bb5c3b7470e1fabfeb3e..f3c01520c6db9afbb4cb0442d73ce6bfa282b8bc 100644 (file)
--- a/t/altid.t
+++ b/t/altid.t
@@ -47,7 +47,8 @@ EOF
 {
        my $ro = PublicInbox::Search->new($ibx);
        my $msgs = $ro->query("gmane:1234");
-       is_deeply([map { $_->mid } @$msgs], ['a@example.com'], 'got one match');
+       $msgs = [ map { $_->{mid} } @$msgs ];
+       is_deeply($msgs, ['a@example.com'], 'got one match');
 
        $msgs = $ro->query("gmane:666");
        is_deeply([], $msgs, 'body did NOT match');