diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md index 0cf846b19d..8f000e2a9d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md @@ -35,10 +35,10 @@ tests: testString: assert.deepEqual(translatePigLatin("algorithm"), "algorithmway", 'translatePigLatin("algorithm") should return "algorithmway".'); - text: translatePigLatin("eight") should return "eightway". testString: assert.deepEqual(translatePigLatin("eight"), "eightway", 'translatePigLatin("eight") should return "eightway".'); - - text: Should handle words where the first vowel comes in the end of the word. + - text: Should handle words where the first vowel comes in the middle of the word. translatePigLatin("schwartz") should return "artzschway". testString: assert.deepEqual(translatePigLatin("schwartz"), "artzschway", 'Should handle words where the first vowel comes in the end of the word.'); - - text: Should handle words without vowels. - testString: assert.deepEqual(translatePigLatin("rhythm"), "rhythmay", 'Should handle words without vowels.'); + - text: Should handle words without vowels. translatePigLatin("rhythm") should return "rhythmay". + testString: assert.deepEqual(translatePigLatin("rhythm"), "rhythmay"); ```