aboutsummaryrefslogtreecommitdiff
path: root/t/tests/sietima/role/avoid-dups.t
diff options
context:
space:
mode:
Diffstat (limited to 't/tests/sietima/role/avoid-dups.t')
-rw-r--r--t/tests/sietima/role/avoid-dups.t24
1 files changed, 14 insertions, 10 deletions
diff --git a/t/tests/sietima/role/avoid-dups.t b/t/tests/sietima/role/avoid-dups.t
index d5fcab3..58cd308 100644
--- a/t/tests/sietima/role/avoid-dups.t
+++ b/t/tests/sietima/role/avoid-dups.t
@@ -13,16 +13,20 @@ my $s = make_sietima(
],
);
-test_sending(
- sietima => $s,
- mail => { cc => 'one@users.example.com' },
- to => ['two@users.example.com'],
-);
+subtest 'in cc' => sub {
+ test_sending(
+ sietima => $s,
+ mail => { cc => 'one@users.example.com' },
+ to => ['two@users.example.com'],
+ );
+};
-test_sending(
- sietima => $s,
- mail => { to => $s->return_path . ' one@users.example.com' },
- to => ['two@users.example.com'],
-);
+subtest 'in to' => sub {
+ test_sending(
+ sietima => $s,
+ mail => { to => $s->return_path . ' one@users.example.com' },
+ to => ['two@users.example.com'],
+ );
+};
done_testing;