Skip to content

Commit

Permalink
More PPT fixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
SineSwiper committed Jun 18, 2013
1 parent 77fda0d commit ad0a465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/P9Y/ProcessTable/Role/Table/PPT.pm
Expand Up @@ -52,7 +52,7 @@ sub _process_hash {
my ($self, $pid) = @_;
my $process = first { $_->pid == $pid } @{ $pt->table };
return unless $process;
return $self->_convert_process;
return $self->_convert_process($process);
}

sub _convert_process {
Expand Down
2 changes: 1 addition & 1 deletion t/51-basic.t
Expand Up @@ -8,7 +8,7 @@ lives_ok { @tbl = P9Y::ProcessTable->table } 'get table';
cmp_ok(@tbl, '>', 5, 'more than 5 processes');

my $p = P9Y::ProcessTable->process;
isa_ok($p, 'P9Y::ProcessTable::Process') || always_explain P9Y::ProcessTable::Table->_process_hash($$);
isa_ok($p, 'P9Y::ProcessTable::Process') || always_explain( P9Y::ProcessTable::Table->_process_hash($$) );

# neuter the ENV vars before posting
if ($p->has_environ) {
Expand Down

0 comments on commit ad0a465

Please sign in to comment.