aboutsummaryrefslogtreecommitdiff
path: root/t/tests/sietima/role/avoid-dups.t
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2016-06-21 16:45:55 +0100
committerdakkar <dakkar@thenautilus.net>2016-06-21 16:55:21 +0100
commit637013159f49e52f7464ea8e6173a9e236112410 (patch)
tree9685145635e51b0e1ab1a09b17fdbb02073eb051 /t/tests/sietima/role/avoid-dups.t
parentignore editor backup files (diff)
downloadSietima-637013159f49e52f7464ea8e6173a9e236112410.tar.gz
Sietima-637013159f49e52f7464ea8e6173a9e236112410.tar.bz2
Sietima-637013159f49e52f7464ea8e6173a9e236112410.zip
use the new deliveries comparator
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;