about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-09-03 01:57:11 +0000
committerEric Wong <e@80x24.org>2015-09-03 02:04:40 +0000
commit81a9c1b476987d845b340ab9013d26cf4487cb9a (patch)
tree65a8c150f97ca35dbc987711ed14d8070027aaf3 /t
parentfd138a0197450d30677441afb014584f34a661da (diff)
downloadpublic-inbox-81a9c1b476987d845b340ab9013d26cf4487cb9a.tar.gz
We'll continue to compress long Message-IDs in URLs (which we know
about), but we will store entire Message-IDs in the Xapian database
to facilitate ease-of-lookups in external databases.
Diffstat (limited to 't')
-rw-r--r--t/search.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/search.t b/t/search.t
index 02189ac4..4ad8a312 100644
--- a/t/search.t
+++ b/t/search.t
@@ -192,7 +192,6 @@ sub filter_mids {
         $rw_commit->();
         $ro->reopen;
         my $long_mid = 'last' . ('x' x 60). '@s';
-        my $long_midc = Digest::SHA::sha1_hex($long_mid);
 
         my $long = Email::MIME->create(
                 header_str => [
@@ -232,7 +231,7 @@ sub filter_mids {
         $ro->reopen;
         my $t = $ro->get_thread('root@s');
         is($t->{total}, 4, "got all 4 mesages in thread");
-        my @exp = sort($long_reply_mid, 'root@s', 'last@s', $long_midc);
+        my @exp = sort($long_reply_mid, 'root@s', 'last@s', $long_mid);
         @res = filter_mids($t);
         is_deeply(\@res, \@exp, "get_thread works");
 }