From 7c80d64d083987a4f30b77c3bfc2849da777bc0d Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Mon, 17 Aug 2015 22:57:25 +0100 Subject: [PATCH] Fix #1942 --- seed/challenges/jquery.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index e6fd81b14d..2e4fca0f9c 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -624,7 +624,7 @@ "Here's an example of how you would use the parent() function: $(\"#left-well\").parent().css(\"background-color\", \"blue\")" ], "tests": [ - "assert($(\"#left-well\").css(\"background-color\") === 'red', 'Your left-well element should have a red background.')", + "assert($(\"#left-well\").css(\"background-color\") === 'red' || $(\"#left-well\").css(\"background-color\") === 'rgb(255, 0, 0)' || $(\"#left-well\").css(\"background-color\").toLowerCase() === '#ff0000' || $(\"#left-well\").css(\"background-color\").toLowerCase() === '#f00', 'Your left-well element should have a red background.')", "assert(editor.match(/\\.parent\\(\\)\\.css/g), 'You should use the parent() function to modify this element.')", "assert(editor.match(/
/g), 'Only use jQuery to add these classes to the element.')" ],