[geary/gnumdk/fix_duplicate_mailbox: 23/23] test: rfc5322 states that there should be a max of 1 To: header




commit ffc366fa48b48ce98c23d97c6046c4ce923ce2cf
Author: Cédric Bellegarde <cedric.bellegarde@ædishatz.org>
Date:   Thu Aug 25 15:11:59 2022 +0200

    test: rfc5322 states that there should be a max of 1 To: header

 test/engine/rfc822/rfc822-message-test.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/engine/rfc822/rfc822-message-test.vala b/test/engine/rfc822/rfc822-message-test.vala
index 57976cca9..7ef49b793 100644
--- a/test/engine/rfc822/rfc822-message-test.vala
+++ b/test/engine/rfc822/rfc822-message-test.vala
@@ -95,9 +95,9 @@ This is the second line.
     public void duplicate_mailbox() throws GLib.Error {
         Message dup = string_to_message(DUPLICATE_TO);
 
-        assert(dup.to.size == 2);
+        assert(dup.to.size == 1);
         assert_addresses(
-            dup.to, "John Doe 1 <jdoe1@machine.example>, John Doe 2 <jdoe2@machine.example>"
+            dup.to, "John Doe 2 <jdoe2@machine.example>"
         );
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]