From d1c208b04ae416d6164d67d2591e64f67a61b4cd Mon Sep 17 00:00:00 2001 From: Dominik Schulz Date: Tue, 8 Nov 2022 10:36:07 +0100 Subject: [PATCH] Update internal/recipients/recipients_test.go Co-authored-by: Yolan Romailler --- internal/recipients/recipients_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/recipients/recipients_test.go b/internal/recipients/recipients_test.go index 1de2425042..4164e1010b 100644 --- a/internal/recipients/recipients_test.go +++ b/internal/recipients/recipients_test.go @@ -65,6 +65,10 @@ func TestUnmarshal(t *testing.T) { in: "# foo@bar.com\nbaz@bar.com\nzab@zab.com # comment", want: []string{"baz@bar.com", "zab@zab.com"}, }, + { + in: "# foo@bar.com\nbaz@bar.com\n# comment\nzab@zab.com\n", + want: []string{"baz@bar.com", "zab@zab.com"}, + }, } { tc := tc t.Run(tc.in, func(t *testing.T) {