]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/msg_iter.t
msg_iter: pass $idx as a scalar, not array
[public-inbox.git] / t / msg_iter.t
index 5c57e043d05f3f9fbf1777e83646d2df7a519656..e8115e2584c7ba7a0ccf58fab7511a123e490eb0 100644 (file)
@@ -28,7 +28,7 @@ use_ok('PublicInbox::MsgIter');
                $s =~ s/\s+//s;
                push @parts, [ $s, $level, @ex ];
        });
-       is_deeply(\@parts, [ [qw(a 2 1 1)], [qw(b 2 1 2)], [qw(sig 1 2)] ],
+       is_deeply(\@parts, [ [qw(a 2 1.1)], [qw(b 2 1.2)], [qw(sig 1 2)] ],
                'nested part shows up properly');
 }