diff --git a/curriculum/challenges/english/blocks/lab-sentence-maker/66c057041df6394ca796bf33.md b/curriculum/challenges/english/blocks/lab-sentence-maker/66c057041df6394ca796bf33.md index 7295ea496a8..a80788cd495 100644 --- a/curriculum/challenges/english/blocks/lab-sentence-maker/66c057041df6394ca796bf33.md +++ b/curriculum/challenges/english/blocks/lab-sentence-maker/66c057041df6394ca796bf33.md @@ -133,6 +133,15 @@ const expected = `Once upon a time, there was a(n) ${_initialValues['adjective'] assert.strictEqual(firstStory, expected); ``` +You should assemble your first story using the variables you declared in the correct order. + +```js +assert.match( + __helpers.removeJSComments(code), + /firstStory\s*=\s*.*?adjective.*?noun.*?noun2.*?noun.*?place.*?adjective2.*?verb/ +); +``` + You should log your first story using the message `"First story: [firstStory]"`. ```js @@ -190,6 +199,15 @@ const expected = `Once upon a time, there was a(n) ${adjective} ${noun} who love assert.strictEqual(secondStory, expected); ``` +You should assemble your second story using the variables you declared in the correct order. + +```js +assert.match( + __helpers.removeJSComments(code), + /secondStory\s*=\s*.*?adjective.*?noun.*?noun2.*?noun.*?place.*?adjective2.*?verb/ +); +``` + You should log your second story using the format `"Second story: [secondStory]"`. ```js