Skip to content

Commit

Permalink
Add "mystery" as test cast to pig-latin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
petercordia authored Dec 21, 2024
1 parent ae6a54b commit fabcdd1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions exercises/pig-latin/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fabcdd1

Please sign in to comment.