From 8633315e7422a2a288e9f46082d262cca9f083ee Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Thu, 28 May 2015 11:13:42 -0400 Subject: [PATCH] Fixes test, closes #699 --- seed_data/challenges/basic-html5-and-css.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 4f5cf46c66..8626a0e7b1 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -594,9 +594,9 @@ "Now see if you can make sure the h2 element is rendered in the color red without removing the \"blue-text\" class, doing an in-line styling, or changing the sequence of CSS class declarations." ], "tests": [ - "assert(new RegExp('.blue-text', 'gi').test(editor), 'Ensure you implemented the css class \".blue-text\"');", - "assert(new RegExp('.urgently-red', 'gi').test(editor), 'Ensure you implemented the css class \".urgently-red\"');", - "assert(new RegExp('blue !important', 'gi').test(editor), 'Ensure you added the \"!important\" declaration!');", + "assert(new RegExp('.blue-text', 'gi').test(editor), 'Ensure you implemented the css class \".blue-text\"')", + "assert(new RegExp('.urgently-red', 'gi').test(editor), 'Ensure you implemented the css class \".urgently-red\"')", + "assert(new RegExp('red !important', 'gi').test(editor), 'Ensure you added the \"!important\" declaration!')", "assert($('h2').hasClass('blue-text'), 'Your h2 element should have the class \"blue-text\".')", "assert($('h2').hasClass('urgently-red'), 'Your h2 element should have the class \"urgently-red\".')", "assert($('h2').css('color') === 'rgb(255, 0, 0)', 'Your h2 element should be red.')"