diff --git a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.english.md b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.english.md
index e3a86f0535..66fda2737d 100644
--- a/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.english.md
+++ b/curriculum/challenges/english/01-responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content.english.md
@@ -30,7 +30,7 @@ tests:
- text: Your code should have 6 h3
closing tags.
testString: assert((code.match(/\/h3/g) || []).length===6);
- text: Your code should not have any h5
tags.
- testString: assert($("h5").length === 0, "Your code should not have any h5
tags.");
+ testString: assert($("h5").length === 0);
- text: Your code should not have any h5
closing tags.
testString: assert(/\/h5/.test(code)===false);
```
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.english.md
index eb6c2088e4..fe3689fa72 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.english.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/give-a-background-color-to-a-div-element.english.md
@@ -33,7 +33,7 @@ tests:
- text: Your div
element should have a silver background.
testString: assert($("div").css("background-color") === "rgb(192, 192, 192)");
- text: Define a class named silver-background
within the style
element and assign the value of silver
to the background-color
property.
- testString: assert(code.match(/\.silver-background\s*{\s*background-color:\s*silver;\s*}/), "Define a class named silver-background
within the style
element and assign the value of silver
to the background-color
property.");
+ testString: assert(code.match(/\.silver-background\s*{\s*background-color:\s*silver;\s*}/));
```
diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
index 3c26174d95..73f578cd76 100644
--- a/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
+++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/import-a-google-font.english.md
@@ -32,7 +32,7 @@ tests:
- text: Your h2
element should use the font Lobster
.
testString: assert($("h2").css("font-family").match(/lobster/i));
- text: Use an h2
CSS selector to change the font.
- testString: 'assert(/\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?(.{0,})\s*;\s*\}/gi.test(code), "Use an h2
CSS selector to change the font.");'
+ testString: 'assert(/\s*h2\s*\{\s*font-family\:\s*(\"|")?Lobster(\"|")?(.{0,})\s*;\s*\}/gi.test(code));'
- text: Your p
element should still use the font monospace
.
testString: assert($("p").css("font-family").match(/monospace/i));
diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-prototype-chain.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-prototype-chain.english.md
index 41db2c1dee..94131cb4ed 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-prototype-chain.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-the-prototype-chain.english.md
@@ -46,7 +46,7 @@ Modify the code to show the correct prototype chain.
```yml
tests:
- text: Your code should show that Object.prototype
is the prototype of Dog.prototype
- testString: assert(/Object\.prototype\.isPrototypeOf/.test(code), "Your code should show that Object.prototype
is the prototype of Dog.prototype
");
+ testString: assert(/Object\.prototype\.isPrototypeOf/.test(code));
```
diff --git a/curriculum/challenges/english/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.english.md b/curriculum/challenges/english/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.english.md
index 6eb8e13e4c..bb0046d5fb 100644
--- a/curriculum/challenges/english/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.english.md
+++ b/curriculum/challenges/english/03-front-end-libraries/jquery/learn-how-script-tags-and-document-ready-work.english.md
@@ -26,11 +26,11 @@ This is important because without your document ready function
, you
```yml
tests:
- text: Create a script
element making sure it is valid and has a closing tag.
- testString: 'assert(code.match(/<\/script\s*>/g) && code.match(/