diff --git a/curriculum/challenges/english/blocks/workshop-linked-list-js/69a0102e761a245bb1cbd8e7.md b/curriculum/challenges/english/blocks/workshop-linked-list-js/69a0102e761a245bb1cbd8e7.md index de68a8931d9..7739695edea 100644 --- a/curriculum/challenges/english/blocks/workshop-linked-list-js/69a0102e761a245bb1cbd8e7.md +++ b/curriculum/challenges/english/blocks/workshop-linked-list-js/69a0102e761a245bb1cbd8e7.md @@ -22,7 +22,7 @@ assert.deepEqual(myList, initList()); You should log a call to `isEmpty(myList)` to the console. ```js -assert.match(__helpers.removeJSComments(code), /console\.log\(isEmpty\(myList\)\)/) +assert.match(__helpers.removeJSComments(code), /console\.log\(isEmpty\(myList\)\);?/) ``` You should call `add` with `myList` and a number of your choice as the parameters. @@ -34,13 +34,13 @@ assert.match(__helpers.removeJSComments(code), /add\s*\(\s*myList\s*,\s*\d+\s*\) You should log your `myList` variable to the console. ```js -assert.match(__helpers.removeJSComments(code), /console\.log\(myList\)/) +assert.match(__helpers.removeJSComments(code), /console\.log\(myList\);?/) ``` You should log `isEmpty(myList)` to the console again. ```js -assert.match(__helpers.removeJSComments(code), /console\.log\(myList\)\s*console\.log\(isEmpty\(myList\)\)/) +assert.match(__helpers.removeJSComments(code), /console\.log\(myList\);?\s*console\.log\(isEmpty\(myList\)\);?/) ```