From 6d9ce1c85c512c1d7d54c18c490c31aee6a9b145 Mon Sep 17 00:00:00 2001 From: Christine Gierer Date: Mon, 25 Mar 2019 11:02:18 -0400 Subject: [PATCH] Update description of tests pig-latin.english.md where too vague (#35499) * Update description of tests pig-latin.english.md The last two tests "Should handle words where the first vowel comes in the end of the word." and "Should handle words without vowels." are too vague without examples of what is meant by that. * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md Co-Authored-By: beansprout --- .../intermediate-algorithm-scripting/pig-latin.english.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"); ```