]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/thread-cycle.t
thread: sort incoming messages by Date
[public-inbox.git] / t / thread-cycle.t
index 9e915a124986866c33061e3c950f8aed733eea88..78dcb6f9db14892495b661e93b0670accb7c44f9 100644 (file)
@@ -85,13 +85,13 @@ SKIP: {
 }
 ($simples, $smsgs) = make_objs(reverse @backwards);
 my $forward = thread_to_s($smsgs);
-if ('Mail::Thread sorts by Date') {
+unless ('Mail::Thread sorts by Date') {
        SKIP: {
                skip 'Mail::Thread missing', 1 unless $mt;
                check_mt($forward, $simples, 'matches Mail::Thread forwards');
        }
 }
-unless ('sorting by Date') {
+if ('sorting by Date') {
        is("\n".$backward, "\n".$forward, 'forward and backward matches');
 }