about summary refs log tree commit homepage
path: root/t/altid.t
diff options
context:
space:
mode:
Diffstat (limited to 't/altid.t')
-rw-r--r--t/altid.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/altid.t b/t/altid.t
index 670a3963..f3c01520 100644
--- 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');