mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): remove white space from hint message in Role Playing Game (#60448)
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ At the end of the string, before the final quote, insert the new line escape cha
|
||||
|
||||
# --hints--
|
||||
|
||||
You should add the new line escape character `\n` to your `". Here are the random numbers: "` string.
|
||||
You should add the new line escape character `\n` to your `". Here are the random numbers:"` string.
|
||||
|
||||
```js
|
||||
assert.match(pick.toString(), /text\.innerText\s*=\s*('|")You picked \1\s*\+\s*guess\s*\+\s*('|")\.\sHere are the random numbers:\\n\2/);
|
||||
|
||||
Reference in New Issue
Block a user