diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md index fdf6417b28..1053164a29 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/understand-absolute-versus-relative-units.english.md @@ -26,7 +26,7 @@ tests: - text: Your red-box class should have a padding property. testString: assert($('.red-box').css('padding-top') != '0px' && $('.red-box').css('padding-right') != '0px' && $('.red-box').css('padding-bottom') != '0px' && $('.red-box').css('padding-left') != '0px', 'Your red-box class should have a padding property.'); - text: Your red-box class should give elements 1.5em of padding. - testString: assert(code.match(/\.red-box\s*?{\s*?.*?\s*?.*?\s*?padding:\s*?1\.5em/gi), 'Your red-box class should give elements 1.5em of padding.'); + testString: assert(code.match(/\.red-box\s*?{(\s|.)*?padding:\s*?1\.5em/gi), 'Your red-box class should give elements 1.5em of padding.'); ```