From a879441c77cd28621f15a28661a4e3a1a5ec4fdd Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Sun, 2 Aug 2015 22:09:36 +0100 Subject: [PATCH] Two of the tests were inverted --- seed/challenges/jquery-ajax-and-json.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seed/challenges/jquery-ajax-and-json.json b/seed/challenges/jquery-ajax-and-json.json index 53674a7280..92509ffade 100644 --- a/seed/challenges/jquery-ajax-and-json.json +++ b/seed/challenges/jquery-ajax-and-json.json @@ -112,7 +112,7 @@ ], "tests": [ "assert($('.well').hasClass('animated') && $('.well').hasClass('shake'), 'Use the jQuery addClass() function to give the classes \"animated\" and \"shake\" to all your elements with the class \"well\".')", - "assert(!editor.match(/class.*animated/g), 'Only use jQuery to add these classes to the element.')" + "assert(!editor.match(/class\\.\\*animated/g), 'Only use jQuery to add these classes to the element.')" ], "challengeSeed": [ "fccss", @@ -630,8 +630,8 @@ ], "tests": [ "assert($('#left-well').css('background-color') === 'rgb(255, 0, 0)', 'Your \"target1\" element should have red text.')", - "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.')" + "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.')" ], "challengeSeed": [ "fccss",