Skip to content

Commit

Permalink
Remove unmarked test dependency on Data::Dump
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Mar 4, 2009
1 parent 6d37dbd commit 688bf0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
Changelog for Parse::Method::Signatures

1.003001 - 2009/03/04
- Remove unmarked test dependency on Data::Dump

1.003000 - 2009/03/03
- Port to using PPI to do the parsing
- Produces nicer error messages
Expand Down
2 changes: 1 addition & 1 deletion lib/Parse/Method/Signatures.pm
Expand Up @@ -11,7 +11,7 @@ use Parse::Method::Signatures::Types qw/PositionalParam NamedParam UnpackedParam
use Carp qw/croak/;

use namespace::clean -except => 'meta';
our $VERSION = '1.003000';
our $VERSION = '1.003001';
our $ERROR_LEVEL = 0;
our %LEXTABLE;
our $DEBUG = $ENV{PMS_DEBUG} || 0;
Expand Down
3 changes: 1 addition & 2 deletions t/ppi.t
Expand Up @@ -165,10 +165,9 @@ sub test_param {
my ($param, $wanted, $msg) = @_;
local $Test::Builder::Level = 2;

use Data::Dump qw/pp/;
if (my $isa = delete $wanted->{__isa}) {
isa_ok($param, $isa, $msg)
or diag(pp $param->meta->linearized_isa);
or diag("@{[$param->meta->linearized_isa]}");
}

for ( @{ delete $wanted->{__does} || [] }) {
Expand Down

0 comments on commit 688bf0e

Please sign in to comment.