]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/altid_v2.t
smsg: remove remaining accessor methods
[public-inbox.git] / t / altid_v2.t
index 28a047d992eff345fe10d1c0dc85a72b1cf9b2a6..01ed9ed48dbc377a56bf9bf8c8265142faa62b37 100644 (file)
@@ -42,7 +42,8 @@ EOF
 $v2w->done;
 
 my $msgs = $ibx->search->reopen->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 = $ibx->search->query("gmane:666");
 is_deeply([], $msgs, 'body did NOT match');