about summary refs log tree commit homepage
path: root/t/v2writable.t
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-29 09:57:45 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-29 09:59:55 +0000
commit9aaf9cf73f7b126ad3d2726adf7c764630626d67 (patch)
treea34658235bfc1559404004d7cbb0d2c693fd600d /t/v2writable.t
parent6efc0df8d3e00da0257b131e96f74d18fce290ab (diff)
downloadpublic-inbox-9aaf9cf73f7b126ad3d2726adf7c764630626d67.tar.gz
The original Message-ID is still the most important when
discussing with other recipients who do not rely on a message
flowing through public-inbox.  So whatever Message-ID we use
to deduplicate internally will be secondary and less important.

All of our front-end v2 code is order-independent, so we won't
let the message count against us, that way.
Diffstat (limited to 't/v2writable.t')
-rw-r--r--t/v2writable.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/v2writable.t b/t/v2writable.t
index 6cabf0d5..c48f060e 100644
--- a/t/v2writable.t
+++ b/t/v2writable.t
@@ -79,8 +79,8 @@ if ('ensure git configs are correct') {
         ok($im->add($mime), 'reused mid ok');
         like(join(' ', @warn), qr/reused/, 'warned about reused MID');
         my @mids = $mime->header_obj->header_raw('Message-Id');
-        is($mids[1], '<a-mid@b>', 'original mid not changed');
-        like($mids[0], $sane_mid, 'new MID added');
+        is($mids[0], '<a-mid@b>', 'original mid not changed');
+        like($mids[1], $sane_mid, 'new MID added');
         is(scalar(@mids), 2, 'only one new MID added');
 
         @warn = ();
@@ -95,8 +95,8 @@ if ('ensure git configs are correct') {
         ok($im->add($mime), 'random MID made');
         like(join(' ', @warn), qr/using random/, 'warned about using random');
         @mids = $mime->header_obj->header_raw('Message-Id');
-        is($mids[1], '<a-mid@b>', 'original mid not changed');
-        like($mids[0], $sane_mid, 'new MID added');
+        is($mids[0], '<a-mid@b>', 'original mid not changed');
+        like($mids[1], $sane_mid, 'new MID added');
         is(scalar(@mids), 2, 'only one new MID added');
 
         @warn = ();