[geary/gnumdk/fix_duplicate_mailbox] test: rfc5322 states that there should be a max of 1 To: header
- From: Cédric Bellegarde <cbellegarde src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/gnumdk/fix_duplicate_mailbox] test: rfc5322 states that there should be a max of 1 To: header
- Date: Thu, 25 Aug 2022 13:14:19 +0000 (UTC)
commit e61d3788c32cd79c689c605e63e08645ebb29081
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]