X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test;h=7113659eb5d40f2c7fadb3572ec53eed5f2b8dd9;hb=2a719335c919a492b2752e9ef7a35bc3c139b863;hp=d419fc139556983923914cdea908022bc470eebc;hpb=04571a4755197a473cb5eb68db7725c64e7ac4bb;p=lmno-server diff --git a/test b/test index d419fc1..7113659 100755 --- a/test +++ b/test @@ -498,7 +498,7 @@ empathy_answer() TEST_SUBSECTION "Submitting answers" TEST "Submit from a non-player fails" -result=$(empathy_answer bogus $prompt_id '"sun", "sand", "water", "people"') +result=$(empathy_answer bogus $prompt_id '"Sun", "Sand", "Water", "People"') test "$result" = '{"valid":false,"message":"Player not found"}' TEST_END @@ -508,12 +508,12 @@ test "$result" = '{"valid":true}' TEST_END TEST "Submit from bob succeeds" -result=$(empathy_answer $bob $prompt_id '"sand", "sands", "sunlight", "towels"') +result=$(empathy_answer $bob $prompt_id '"sand", "sands", "SunLight", "towels"') test "$result" = '{"valid":true}' TEST_END TEST "Submit from charlie succeeds" -result=$(empathy_answer $charlie $prompt_id '"sunshine", "grains of sand", "wafer", "people"') +result=$(empathy_answer $charlie $prompt_id '"SunShine", "Grains of Sand", "wafer", "people"') test "$result" = '{"valid":true}' TEST_END @@ -533,7 +533,7 @@ empathy_ambiguities() TEST "Received all unique words" # echo here is to strip newlines result=$(echo $(empathy_ambiguities $alice)) -test "$result" = '"sun" "sand" "water" "people" "sands" "sunlight" "towels" "sunshine" "grains of sand" "wafer"' +test "$result" = '"sun" "sand" "water" "people" "sands" "SunLight" "towels" "SunShine" "Grains of Sand" "wafer"' TEST_END TEST "Submit word groups from alice"