pull/2037/head
Quincy Larson 2015-08-18 01:07:09 -07:00
parent 27758a7418
commit 85b736b64d
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@
],
"tests": [
"assert(!$(\"h2\").attr(\"style\"), 'Remove the style attribute from your <code>h2</code> element.')",
"assert(($(\"style\").length > 1), 'Create a <code>style</code> element.')",
"assert($(\"style\") && $(\"style\").length > 1, 'Create a <code>style</code> element.')",
"assert($(\"h2\").css(\"color\") === \"rgb(0, 0, 255)\", 'Your <code>h2</code> element should be blue.')",
"assert(editor.match(/<\\/style>/g) && editor.match(/<\\/style>/g).length === editor.match(/<style>/g).length, 'Make sure each of your <code>style</code> elements has a closing tag.')"
],