Merge pull request #5650 from 0x0936/fix/issue-5583
Fix test on Waypoint: Concatenating Strings with Plus Operatorpull/5665/head
commit
6f9dc5691e
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue