From d0820f0a38f1924ff87fb9e21e744cc7e483ed05 Mon Sep 17 00:00:00 2001 From: Jools Date: Tue, 27 Jun 2017 14:33:37 +0200 Subject: [PATCH] replace a test with correct code and change 'function' to 'selector' in description (#14578) --- challenges/03-front-end-libraries/jquery.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/challenges/03-front-end-libraries/jquery.json b/challenges/03-front-end-libraries/jquery.json index 049afd3ba0..73be2fd4a7 100644 --- a/challenges/03-front-end-libraries/jquery.json +++ b/challenges/03-front-end-libraries/jquery.json @@ -1328,8 +1328,8 @@ "tests": [ "assert($(\".target:nth-child(2)\").hasClass(\"animated\") && $(\".target:nth-child(2)\").hasClass(\"bounce\"), 'message: The second element in your target elements should bounce.');", "assert($(\".animated.bounce\").length === 2, 'message: Only two elements should bounce.');", - "assert(code.match(/\\:nth-child\\(/g), 'message: You should use the :nth-child() function to modify these elements.');", - "assert(code.match(/