Skip to content

Commit

Permalink
[t/spec] typos
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@28877 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
moritz committed Oct 21, 2009
1 parent 8756dee commit 438bcce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S12-attributes/delegation.t
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@ class PairTest {
is ~$x, '3 4', 'delegation of .pop';
$x.unshift('foo');
is ~$x, 'foo 3 4', 'delegation of .unshift';
is $x.shift, 'foo', 'delegatin of .shift (1)';
is $x.shift, 'foo', 'delegation of .shift (1)';
is ~$x, '3 4', 'delegation of .shift (2)';
is $x.elems, 2, 'delegation of .elems';
}
{
class PseudoHash { has %!data handles <push Str> };
my $h = PseudoHash.new;
$h.push: 'a' => 5;
is $h.Str, ~{a => 5}, 'delegatin of .Str and .push to hash';
is $h.Str, ~{a => 5}, 'delegation of .Str and .push to hash';
}

done_testing;
Expand Down

0 comments on commit 438bcce

Please sign in to comment.