diff --git a/exercises/state-of-tic-tac-toe/canonical-data.json b/exercises/state-of-tic-tac-toe/canonical-data.json index a4d12ad78d..cddaed8159 100644 --- a/exercises/state-of-tic-tac-toe/canonical-data.json +++ b/exercises/state-of-tic-tac-toe/canonical-data.json @@ -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" }