From: Carl Worth Date: Fri, 12 Jun 2020 17:18:00 +0000 (-0700) Subject: test: Stress the implementation a bit with a mixed-case judging report X-Git-Url: https://git.cworth.org/git?p=empires-server;a=commitdiff_plain;h=099be08b52de7ce2bcc8f221c149eca30ca7e473 test: Stress the implementation a bit with a mixed-case judging report With this change to the test, we now have a user submitting a judging report with "grains of sand" in a list after having received "Grains of Sand" from the server. The server currently misscores in this case, so this test case now fails, (revealing a bug in the server). --- diff --git a/test b/test index 27469ee..c4ddcf5 100755 --- a/test +++ b/test @@ -542,7 +542,7 @@ test "$result" = '{"valid":true}' TEST_END TEST "Submit word groups from bob" -result=$(empathy_judging $bob $prompt_id '[["sands","Grains of Sand"],["water","wafer"]]') +result=$(empathy_judging $bob $prompt_id '[["sands","grains of sand"],["water","wafer"]]') test "$result" = '{"valid":true}' TEST_END