Merge pull request #5650 from 0x0936/fix/issue-5583

Fix test on Waypoint: Concatenating Strings with Plus Operator
pull/5665/head
Rex Schrader 2015-12-31 11:20:38 -08:00
commit 6f9dc5691e
1 changed files with 1 additions and 1 deletions

View File

@ -971,7 +971,7 @@
],
"tests": [
"assert(myStr === \"This is the start. This is the end.\", 'message: <code>myStr</code> should have a value of <code>This is the start. This is the end.</code>');",
"assert(code.match(/\"\\s*\\+\\s*\"/g).length > 1, 'message: Use the <code>+</code> operator to build <code>myStr</code>');"
"assert(code.match(/This is the start\\.\\s*[\"']\\s*(.)\\s*[\"']This is the end\\.[\"'];\\s*$/)[1] === \"+\", 'message: Use the <code>+</code> operator to build <code>myStr</code>');"
],
"type": "waypoint",
"challengeType": "1",