From fabcdd13eddbd9cdbb765bc2549461f395fab3fa Mon Sep 17 00:00:00 2001 From: petercordia <63253171+petercordia@users.noreply.github.com> Date: Sat, 21 Dec 2024 19:51:30 +0100 Subject: [PATCH] Add "mystery" as test cast to pig-latin Slightly niche, but I did see a solution that succeeded in all the current test cases but failed for "mystery". Due to the way the logic that looks for the 'y' can be (mis)handled. --- exercises/pig-latin/canonical-data.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/exercises/pig-latin/canonical-data.json b/exercises/pig-latin/canonical-data.json index f1275d03f..4fd2f7d86 100644 --- a/exercises/pig-latin/canonical-data.json +++ b/exercises/pig-latin/canonical-data.json @@ -149,6 +149,15 @@ }, "expected": "erapythay" }, + { + "uuid": ??, + "description": "word with y in the middle", + "property": "translate", + "input": { + "phrase": "mystery" + }, + "expected": "ysterymay" + }, { "uuid": "e0b3ae65-f508-4de3-8999-19c2f8e243e1", "description": "word beginning with thr",