X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Static-Simple.git;a=blobdiff_plain;f=t%2F05dirs.t;h=5f01eda04e9ae614c9ec73eedcf5185c6edca93b;hp=f342556db79ca188f3613bce88ea51738ef2431b;hb=246916e6aff004518616a1f755e9ef93fb027a07;hpb=0f93c510af9afdd95a15bfb812d86732b2f78fe9 diff --git a/t/05dirs.t b/t/05dirs.t index f342556..5f01eda 100644 --- a/t/05dirs.t +++ b/t/05dirs.t @@ -31,7 +31,7 @@ is( $res->content_type, 'text/html', '404 is text/html' ); # qr regex test ok( $res = request('http://localhost/images/catalyst.png'), 'request ok' ); -is( $res->content_type, 'image/png', 'qr regex path ok' ); +like( $res->content_type, qr{\Aimage/.*png\z}, 'qr regex path ok' ); # eval regex test ok( $res = request('http://localhost/css/static.css'), 'request ok' );