adjusted test

This commit is contained in:
robjloranger
2016-06-14 16:41:55 -07:00
parent cd4bcbb5da
commit 6df576df6b

View File

@ -1263,7 +1263,7 @@
],
"tests": [
"assert(typeof someAdjective !== 'undefined' && someAdjective.length > 2, 'message: <code>someAdjective</code> should be set to a string at least 3 characters long');",
"assert(code.match(/\\w\\s*\\+=\\s*someAdjective\\s*;/).length > 0, 'message: Append <code>someAdjective</code> to <code>myStr</code> using the <code>+=</code> operator');"
"assert(code.match(/myStr\\s*\\+=\\s*someAdjective\\s*/).length > 0, 'message: Append <code>someAdjective</code> to <code>myStr</code> using the <code>+=</code> operator');"
],
"type": "waypoint",
"challengeType": 1,