diff options
author | Brian Cassidy <bricas@cpan.org> | 2011-12-08 11:42:49 -0400 |
---|---|---|
committer | Brian Cassidy <bricas@cpan.org> | 2011-12-08 11:42:49 -0400 |
commit | bfa5a7ae56286a093dc74533b392816f6c387014 (patch) | |
tree | 314353d6b512b40054904aff61ad9dddd0e3b8b5 | |
parent | update POD for some middlewares (diff) | |
download | net-http-spore-bfa5a7ae56286a093dc74533b392816f6c387014.tar.gz |
fix warnings in test
-rw-r--r-- | t/spore/02_enable.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/spore/02_enable.t b/t/spore/02_enable.t index 2bd7402..e54d7a3 100644 --- a/t/spore/02_enable.t +++ b/t/spore/02_enable.t @@ -26,15 +26,15 @@ is scalar @{$client->middlewares}, 0, 'no middleware'; dies_ok { $client->enable(); -}, 'middleware name is required'; +} 'middleware name is required'; dies_ok { $client->enable('FOOBARBAZAWESOMEMIDDLEWARE'); -}, 'middleware should be loadable'; +} 'middleware should be loadable'; dies_ok { $client->enable_if('Format::JSON'); -}, 'enable if require a coderef'; +} 'enable if require a coderef'; $client->enable('Dummy'); is scalar @{$client->middlewares}, 1, 'middleware dummy added'; |