aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2012-05-02 19:38:55 +0100
committerDave Whiteland <dave@mysociety.org>2012-05-02 19:38:55 +0100
commit4f7cd67dc8a986dc63de4a34aedc7f135ad115db (patch)
treeb06de6e6ee29d2ef46da1460f1a0417b669d1d96 /t/app/model
parent3f5c3e5ae8085ccadbc84cc6899d01a99f3e8035 (diff)
allow for whitespace/text-wrap in tests
Diffstat (limited to 't/app/model')
-rw-r--r--t/app/model/alert_type.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/model/alert_type.t b/t/app/model/alert_type.t
index ab129b4e7..67ddc10aa 100644
--- a/t/app/model/alert_type.t
+++ b/t/app/model/alert_type.t
@@ -202,7 +202,7 @@ for my $test (
(my $title = $report->title) =~ s/ /\\s+/;
my $body = $email->body;
- like $body, qr#report/$report_id - $title, $pc#, 'email contains expected postcode';
+ like $body, qr#report/$report_id\s+-\s+$title,\s+$pc#, 'email contains expected postcode';
};
}