Fix Waypoint Style HTML Body Element Add Test

Closes #2686
pull/4310/head
Logan Tegman 2015-11-11 15:13:01 -08:00
parent 8847129c37
commit f0cf140d9a
1 changed files with 2 additions and 1 deletions

View File

@ -3157,7 +3157,8 @@
"<code>}</code>"
],
"tests": [
"assert($(\"body\").css(\"background-color\") === \"rgb(0, 0, 0)\", 'Give your <code>body</code> element the <code>background-color</code> of black.')"
"assert($(\"body\").css(\"background-color\") === \"rgb(0, 0, 0)\", 'Give your <code>body</code> element the <code>background-color</code> of black.')",
"assert(editor.match(/<style>\\s*body\\s*\\{\\s*background-color\\s*:\\s*black;?\\s*\\}\\s*<\\/style>/i), 'Make sure your CSS rule is properly formatted with both and opening and closing curly bracket.')"
],
"challengeSeed": [
"<style>",