Skip to content

Commit fabcdd1

Browse files
authored
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.
1 parent ae6a54b commit fabcdd1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

exercises/pig-latin/canonical-data.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,15 @@
149149
},
150150
"expected": "erapythay"
151151
},
152+
{
153+
"uuid": ??,
154+
"description": "word with y in the middle",
155+
"property": "translate",
156+
"input": {
157+
"phrase": "mystery"
158+
},
159+
"expected": "ysterymay"
160+
},
152161
{
153162
"uuid": "e0b3ae65-f508-4de3-8999-19c2f8e243e1",
154163
"description": "word beginning with thr",

0 commit comments

Comments
 (0)