Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweak a couple of tests
  • Loading branch information
dwarring committed Jul 18, 2014
1 parent f271d8c commit a2c4cc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions integration/advent2011-day24.t
Expand Up @@ -40,10 +40,10 @@ class Present {

method look() {
if $.iswrapped {
pass "It's wrapped.";
"It's wrapped.";
}
else {
pass "a $.item!";
"A $.item!";
}
}

Expand All @@ -58,7 +58,7 @@ multi sub open(Present $present) {
}

my $gift = Present.new(:item("sock"));
$gift.look;
is $gift.look, "It's wrapped.", "It's wrapped.";
open($gift);
$gift.look;
is $gift.look, 'A sock!', 'A sock!';

0 comments on commit a2c4cc6

Please sign in to comment.