From 099be08b52de7ce2bcc8f221c149eca30ca7e473 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 12 Jun 2020 10:18:00 -0700 Subject: [PATCH] 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). --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0