Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Which, of course, currently fails.
  • Loading branch information...
commit f662f1ab919d6e380b932bea8178899b0d3b2e26 1 parent 48c7575
lue authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 bin/crypt
16 bin/crypt
View
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.