]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/thread-cycle.t
tests: add thread-all testing for benchmarking
[public-inbox.git] / t / thread-cycle.t
index 0e1ecfe261507efa5e1697d999e393c3ff050176..9dd2aa3c64fcd6971285bb7857896172e748ede9 100644 (file)
@@ -3,7 +3,6 @@
 use strict;
 use warnings;
 use Test::More;
-use_ok('PublicInbox::SearchMsg');
 use_ok('PublicInbox::SearchThread');
 use Email::Simple;
 my $mt = eval {
@@ -70,14 +69,6 @@ SKIP: {
        is($check, $st, 'Mail::Thread output matches');
 }
 
-@msgs = map { bless $_, 'PublicInbox::SearchMsg' } (
-       { mid => 'a@b' },
-       { mid => 'b@c', references => '<a@b> <b@c>' },
-       { mid => 'd@e', references => '<d@e>' },
-);
-
-is(thread_to_s(\@msgs), "a\@b\n b\@c\nd\@e\n", 'ok with self-references');
-
 done_testing();
 
 sub thread_to_s {