X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flive_stats.t;h=a8c9c13dd920d40c6a61a12e59ceb758ba39eb73;hb=8ad6fd584ff18d88abf31629d4593ba94eeb7647;hp=48bffd17e9c219437d9e0bf687110a457b5f0458;hpb=b6b1bcadec1d2253d97125c0a20bf0a452850566;p=catagits%2FCatalyst-Runtime.git 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'); }