Skip to content

Commit

Permalink
Reimplement instead of mutate
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegillet committed Apr 18, 2022
1 parent 86cea47 commit 9b08e67
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions exercises/state-of-tic-tac-toe/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,23 @@
" "
]
},
"expected": {
"error": "Impossible board: game should have ended after X won"
}
},
{
"uuid": "6c1920f2-ab5c-4648-a0c9-997414dda5eb",
"reimplements": "6c1920f2-ab5c-4648-a0c9-997414dda5eb",
"description": "Invalid board",
"comments": ["Error message was changed to be more general"],
"property": "gamestate",
"input": {
"board": [
"XXX",
"OOO",
" "
]
},
"expected": {
"error": "Impossible board: game should have ended after the game was won"
}
Expand Down

0 comments on commit 9b08e67

Please sign in to comment.