diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md
index f9aed6ca63..06c7229af9 100644
--- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md
+++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/inherit-behaviors-from-a-supertype.english.md
@@ -33,9 +33,9 @@ tests:
- text: The beagle
variable should be defined.
testString: assert(typeof beagle !== "undefined", 'The beagle
variable should be defined.');
- text: The duck
variable should be initialised with Object.create
.
- testString: assert(/(let|const|var)\s*beagle\s*=\s*Object\.create\s*\(\s*Animal\.prototype\s*\)\s*;/.test(code), 'The duck
variable should be initialised with Object.create
');
+ testString: assert(/(let|const|var)\s{1,}duck\s*=\s*Object\.create\s*\(\s*Animal\.prototype\s*\)\s*/.test(code), 'The duck
variable should be initialised with Object.create
.');
- text: The beagle
variable should be initialised with Object.create
.
- testString: assert(/(let|const|var)\s*duck\s*=\s*Object\.create\s*\(\s*Animal\.prototype\s*\)\s*;/.test(code), 'The beagle
variable should be initialised with Object.create
.');
+ testString: assert(/(let|const|var)\s{1,}beagle\s*=\s*Object\.create\s*\(\s*Animal\.prototype\s*\)\s*/.test(code), 'The beagle
variable should be initialised with Object.create
.');
- text: duck
should have a prototype
of Animal
.
testString: assert(duck instanceof Animal, 'duck
should have a prototype
of Animal
.');
- text: beagle
should have a prototype
of Animal
.