From 6d7092928e852755fa0d4d9489b3c8748b466a94 Mon Sep 17 00:00:00 2001 From: Rachel Sinclair Date: Mon, 4 Jun 2018 12:06:28 +0100 Subject: [PATCH] fix(seed): Simplify audio element closing tag test (#17401) Excessively strict assertions were causing the test to fail when user added extra attributes such as 'id' to the opening audio tag. Test has been simplified to remove the unnecessary criteria. Closes #17343 --- .../01-responsive-web-design/applied-accessibility.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-responsive-web-design/applied-accessibility.json b/seed/challenges/01-responsive-web-design/applied-accessibility.json index 0725d44ea6..f71825694b 100644 --- a/seed/challenges/01-responsive-web-design/applied-accessibility.json +++ b/seed/challenges/01-responsive-web-design/applied-accessibility.json @@ -494,7 +494,7 @@ }, { "text": "Make sure your audio element has a closing tag.", - "testString": "assert(code.match(/<\\/audio>/g) && code.match(/