X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flive_stats.t;h=a8c9c13dd920d40c6a61a12e59ceb758ba39eb73;hp=48bffd17e9c219437d9e0bf687110a457b5f0458;hb=f3414019f472b55682ef3af53f761b6db7955887;hpb=b6b1bcadec1d2253d97125c0a20bf0a452850566 diff --git a/t/live_stats.t b/t/live_stats.t index 48bffd1..a8c9c13 100644 --- a/t/live_stats.t +++ b/t/live_stats.t @@ -23,7 +23,7 @@ else { { ok( my $response = request('http://localhost/'), 'Request' ); ok( $response->is_success, 'Response Successful 2xx' ); - ok( $response->content =~ m/\/default.*?[\d.]+s.*- test.*[\d.]+s/s, 'Stats report'); + like( $response->content, qr/\/default.*?[\d.]+s.*- test.*[\d.]+s/s, 'Stats report'); }