diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-01-18 13:33:32 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-01-18 13:33:32 +0000 |
commit | 76e55c5da8bd12e83ae4df8e324dd2f4746ceeb1 (patch) | |
tree | 1611e72e8442513b58d254a4e1c8e840d5b71c5b /t/app/controller/admin.t | |
parent | 137cdeb6bc888c462ef0cfa50105d1dd0479a7d4 (diff) |
Improve test to not be so fragile around newlines.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 52d00f4b6..8963e417d 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -1061,7 +1061,7 @@ subtest 'report search' => sub { subtest 'search abuse' => sub { $mech->get_ok( '/admin/users?search=example' ); - $mech->content_like(qr/test4\@example.com.*\n.*\n.*Email in abuse table/); + $mech->content_like(qr{test4\@example.com.*</td>\s*<td>.*?</td>\s*<td>\(Email in abuse table}); }; subtest 'show flagged entries' => sub { |