diff options
| author | franck cuny <franck.cuny@gmail.com> | 2012-01-02 15:29:30 -0800 |
|---|---|---|
| committer | franck cuny <franck.cuny@gmail.com> | 2012-01-02 15:29:30 -0800 |
| commit | f61a039c9d376baff3c54577d5c65abd6a857e85 (patch) | |
| tree | 00176a57db63efa025e5437b34f2dd69632d547b /t | |
| parent | use eq and ne instead of a regex (diff) | |
| parent | use eq and ne instead of a regex (diff) | |
| download | net-http-spore-f61a039c9d376baff3c54577d5c65abd6a857e85.tar.gz | |
Merge branch 'bricas'
* bricas:
use eq and ne instead of a regex
pod fix
confess when we are unable to fetch a spec via LWP
remove unused var; simplify conditions
fix warnings in test
Diffstat (limited to 't')
| -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'; |
