diff --git a/seed/challenges/01-responsive-web-design/applied-accessibility.json b/seed/challenges/01-responsive-web-design/applied-accessibility.json index 1ec7336c72..2d41eff475 100644 --- a/seed/challenges/01-responsive-web-design/applied-accessibility.json +++ b/seed/challenges/01-responsive-web-design/applied-accessibility.json @@ -1253,11 +1253,11 @@ "tests": [ { "text": "Your code should move the anchor a tags from around the words \"Click here\" to wrap around the words \"information about batteries\".", - "testString": "assert($('a').text().match(/information about batteries/g), 'Your code should move the anchor a tags from around the words \"Click here\" to wrap around the words \"information about batteries\".');" + "testString": "assert($('a').text().match(/^(information about batteries)$/g), 'Your code should move the anchor a tags from around the words \"Click here\" to wrap around the words \"information about batteries\".');" }, { "text": "Make sure your a element has a closing tag.", - "testString": "assert(code.match(/<\\/a>/g) && code.match(/<\\/a>/g).length === code.match(//g).length, 'Make sure your a element has a closing tag.');" + "testString": "assert(code.match(/<\\/a>/g) && code.match(/<\\/a>/g).length === code.match(//g).length, 'Make sure your a element has a closing tag.');" } ], "solutions": [],