fix(curriculum): changed test text to use should for Coding Interview Prep - part 2 of 2 (#37766)
* fix: changed test text to use should * fix: corrected typo Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: removed extra period Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com> * fix: corrected typo Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
Manish Giri
parent
9cd57105af
commit
c25916c9a2
@@ -24,7 +24,7 @@ Hence, the series is: 0, 1, 1, 2, 3, 5, 8, 13...
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: <code>fibonacci</code> is a function.
|
||||
- text: <code>fibonacci</code> should be a function.
|
||||
testString: assert(typeof fibonacci === 'function');
|
||||
- text: <code>fibonacci(2)</code> should return a number.
|
||||
testString: assert(typeof fibonacci(2) == 'number');
|
||||
|
Reference in New Issue
Block a user