Merge pull request #7361 from raisedadead/fix/change-text-with-click-events

Fix tests for Change text with Click Events
This commit is contained in:
Logan Tegman
2016-03-06 14:07:51 -08:00

View File

@ -108,7 +108,7 @@
"</div>" "</div>"
], ],
"tests": [ "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", "type": "waypoint",
"challengeType": 0, "challengeType": 0,