Skip to content

Commit

Permalink
Update internal/recipients/recipients_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Yolan Romailler <AnomalRoil@users.noreply.github.com>
  • Loading branch information
dominikschulz and AnomalRoil authored Nov 8, 2022
1 parent e65070b commit d1c208b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/recipients/recipients_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d1c208b

Please sign in to comment.