Skip to content

Commit

Permalink
implemented tenth test; passed right away
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Masak committed Mar 21, 2009
1 parent 8e50a9e commit fb0414c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/01-game-rules.t
Expand Up @@ -112,8 +112,9 @@ sub a-lintel-move-must-have-a-certain-syntax($game) {
"a lintel move must have a certain syntax";
}

sub a-lintel-move-must-be-within-the-limits-of-the-board {
ok 0, "a lintel move must be within the limits of the board";
sub a-lintel-move-must-be-within-the-limits-of-the-board($game) {
dies_ok { $game.make-move("a4-c4") },
"a lintel move must be within the limits of the board";
}

sub a-lintel-move-can-not-be-made-directly-on-the-ground {
Expand Down

0 comments on commit fb0414c

Please sign in to comment.