Skip to content

Commit 50c8021

Browse files
authored
chore: update assertions to use assert.isString for Project Euler (freeCodeCamp#60601)
1 parent 8114156 commit 50c8021

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

curriculum/challenges/english/18-project-euler/project-euler-problems-201-to-300/problem-220-heighway-dragon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ What is the position of the cursor after ${10}^{12}$ steps in $D_{50}$? Give you
2828
`heighwayDragon()` should return a string.
2929

3030
```js
31-
assert(typeof heighwayDragon() === 'string');
31+
assert.isString(heighwayDragon());
3232
```
3333

3434
`heighwayDragon()` should return the string `139776,963904`.

curriculum/challenges/english/18-project-euler/project-euler-problems-201-to-300/problem-236-luxury-hampers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ What's the largest possible value of $m$? Give your answer as a string with frac
3636
`luxuryHampers()` should return a string.
3737

3838
```js
39-
assert(typeof luxuryHampers() === 'string');
39+
assert.isString(luxuryHampers());
4040
```
4141

4242
`luxuryHampers()` should return the string `123/59`.

curriculum/challenges/english/18-project-euler/project-euler-problems-201-to-300/problem-284-steady-squares.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Find the sum of the digits of all the $n$-digit steady squares in the base 14 nu
2121
`steadySquares()` should return a string.
2222

2323
```js
24-
assert(typeof steadySquares() === 'string');
24+
assert.isString(steadySquares());
2525
```
2626

2727
`steadySquares()` should return the string `5a411d7b`.

0 commit comments

Comments
 (0)