X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fkey_regexes.t;h=5598a43cc01f20c11dcc3af5269cd9ccb1e6c984;hb=1049fa807fd67ac2bb64beaf8d47a9077ebc90b5;hp=4c19c33651e919b2952196244d24145f8c75aca4;hpb=1c99d822a8a945b775b496d492f87cface32e24c;p=catagits%2FCatalyst-Plugin-Cache.git diff --git a/t/key_regexes.t b/t/key_regexes.t index 4c19c33..5598a43 100644 --- a/t/key_regexes.t +++ b/t/key_regexes.t @@ -3,10 +3,10 @@ use strict; use warnings; -use Test::More 'no_plan'; +use Test::More; -use ok "Catalyst::Plugin::Cache"; -use ok "Catalyst::Plugin::Cache::Choose::KeyRegexes"; +use_ok "Catalyst::Plugin::Cache"; +use_ok "Catalyst::Plugin::Cache::Choose::KeyRegexes"; use Catalyst::Plugin::Cache::Backend::Memory; @@ -59,4 +59,5 @@ is( $c->get_cache_backend("bar_store")->get("baz_laa"), undef, "no non match in is( $c->get_cache_backend("bar_store")->get("foo_laa"), undef, "no foo key" ); is( $c->get_cache_backend("bar_store")->get("bar_laa"), "laa", "has bar key" ); +done_testing;