Skip to content

Loading…

Failing "dropping water" test #3

Closed
wants to merge 1 commit into from

2 participants

@ShimmerFairy

No description provided.

@masak masak closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 24, 2012
  1. @ShimmerFairy

    [bin/crypt] Added test for "dropping" the water in the helmet.

    ShimmerFairy committed
    Which, of course, currently fails.
Showing with 16 additions and 0 deletions.
  1. +16 −0 bin/crypt
View
16 bin/crypt
@@ -2467,6 +2467,22 @@ multi MAIN('test') {
'picking helmet up from brook fills it with water';
}
+ {
+ my $game = game_from_hall();
+
+ $game.use('flashlight');
+ $game.take('helmet');
+ $game.walk('north');
+ $game.walk('north');
+ $game.put_thing_in('water', 'helmet');
+ is $game.drop('water'),
+ Adventure::PlayerDropped.new(
+ :thing<water>,
+ ),
+ 'dropping water in the helmet';
+ )
+ }
+
done;
}
Something went wrong with that request. Please try again.