Skip to content

Commit

Permalink
Fix calls to POD .content
Browse files Browse the repository at this point in the history
It's now .contents
  • Loading branch information
hoelzro committed Aug 19, 2014
1 parent 7e8af14 commit f9ad8e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration/advent2011-day10.t
Expand Up @@ -12,7 +12,7 @@ plan 5;
=end pod

is $=pod[0].content[0].content, 'Some pod content', '$=pod';
is $=pod[0].contents[0].contents, 'Some pod content', '$=pod';

#| it's a sheep! really!
class Sheep {
Expand All @@ -23,8 +23,8 @@ class Sheep {
}
}

is Sheep.WHY.content, "it's a sheep! really!", "class .WHY";
is Sheep.^find_method('bark').WHY.content, "produces a funny sound", "method .WHY";
is Sheep.WHY.contents, "it's a sheep! really!", "class .WHY";
is Sheep.^find_method('bark').WHY.contents, "produces a funny sound", "method .WHY";

my $main = q:to"END";
=begin pod
Expand Down

0 comments on commit f9ad8e9

Please sign in to comment.