Skip to content

Commit

Permalink
Merge pull request #7361 from raisedadead/fix/change-text-with-click-…
Browse files Browse the repository at this point in the history
…events

Fix tests for Change text with Click Events
  • Loading branch information
ltegman committed Mar 6, 2016
2 parents dafb845 + c71c693 commit f1e5b16
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -108,7 +108,7 @@
"</div>"
],
"tests": [
"assert(code.match(/\\$\\s*?\\(\\s*?(?:'|\")\\.message(?:'|\")\\s*?\\)\\s*?\\.html\\s*?\\(\\s*?(?:'|\")Here\\sis\\sthe\\smessage(?:'|\")\\s*?\\);/gi), 'message: Clicking the \"Get Message\" button should give the element with the class <code>message</code> the text \"Here is the message\".');"
"assert(code.match(/\\$\\s*?\\(\\s*?(?:'|\")\\.message(?:'|\")\\s*?\\)\\s*?(\\.html|\\.text)\\s*?\\(\\s*?(?:'|\")Here\\sis\\sthe\\smessage(?:'|\")\\s*?\\);/gi), 'message: Clicking the \"Get Message\" button should give the element with the class <code>message</code> the text \"Here is the message\".');"
],
"type": "waypoint",
"challengeType": 0,
Expand Down

0 comments on commit f1e5b16

Please sign in to comment.