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 <christinegierer@gmail.com>
This commit is contained in:
Christine Gierer
2019-03-25 11:02:18 -04:00
committed by Randell Dawson
parent 6a9f459a42
commit 6d9ce1c85c

View File

@ -35,10 +35,10 @@ tests:
testString: assert.deepEqual(translatePigLatin("algorithm"), "algorithmway", '<code>translatePigLatin("algorithm")</code> should return "algorithmway".');
- text: <code>translatePigLatin("eight")</code> should return "eightway".
testString: assert.deepEqual(translatePigLatin("eight"), "eightway", '<code>translatePigLatin("eight")</code> 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. <code>translatePigLatin("schwartz")</code> 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. <code>translatePigLatin("rhythm")</code> should return "rhythmay".
testString: assert.deepEqual(translatePigLatin("rhythm"), "rhythmay");
```