fix(curriculum): verbiage (#41732)

* fix(curriculum): verbiage

Modify the wording of the tests in this challenge to avoid having
two tests which sound the same.

* fix: Shaun's arrays have elements

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
This commit is contained in:
Nicholas Carrigan (he/him)
2021-04-03 14:00:15 -07:00
committed by GitHub
parent 9dfcd67592
commit 7d83a6b65d

View File

@ -59,13 +59,13 @@ Add a new album to the `myMusic` array. Add `artist` and `title` strings, `relea
assert(Array.isArray(myMusic));
```
`myMusic` should have at least two objects
`myMusic` should have at least two elements
```js
assert(myMusic.length > 1);
```
`myMusic` should contain at least two objects
The elements in the `myMusic` array should be objects
```js
myMusic.forEach(object => {assert.typeOf(object, 'object')})