X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test;h=55a4c2956318b04c5ac1e0c7c830cb4b358bfa0f;hb=00507589b4984d50a34a383975fc6323db19bcfa;hp=0e42462a264d8d8e07063628bf6ff7a951cb4a44;hpb=53806350bc2b8e36bf9d2561729b4608403af96d;p=lmno-server diff --git a/test b/test index 0e42462..55a4c29 100755 --- a/test +++ b/test @@ -299,12 +299,12 @@ TEST_SUBSECTION "Tic Tac Toe /move" TEST "Move to the center square" result=$(tictactoe_move 4) -test "$result" = "true" +test "$result" = '{"legal":true}' TEST_END TEST "Move to center square again is now illegal" result=$(tictactoe_move 4) -test "$result" = "false" +test "$result" = '{"legal":false,"message":"Square is already occupied"}' TEST_END TEST_REPORT