Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reverting since the consensus in #577 was clearly in favour of no cha…
…nge. In case of further argument this should be decided by either Pumpking or BDFL
  • Loading branch information
stmuk committed Jun 10, 2016
1 parent 64bc5f3 commit 8ebabd4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/Language/testing.pod
Expand Up @@ -202,12 +202,12 @@ Marks a test as passed if the given object C<$value> is, or inherits from, the
given C<$expected-type>. For convenience, types may also be specified as a
string. The function accepts an optional C<$description> of the test.
class Butterfly {}
class Camelia is Butterfly {}
my $creature = Camelia.new;
class Womble {}
class GreatUncleBulgaria is Womble {}
my $womble = GreatUncleBulgaria.new;
isa-ok $creature, Butterfly, "Camelia is a butterfly";
isa-ok $creature, 'Butterfly'; # equivalent
isa-ok $womble, Womble, "Great Uncle Bulgaria is a womble";
isa-ok $womble, 'Womble'; # equivalent
=head2 By method name
Expand Down

0 comments on commit 8ebabd4

Please sign in to comment.