From c3a2aa3870b6d8720aa6cf6062a43be9071b7c12 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Wed, 12 Aug 2015 01:21:25 -0700 Subject: [PATCH] manually add minor test improvement submitted by @ramadis --- challenges/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/html5-and-css.json b/challenges/html5-and-css.json index 21703f1faf7..0c0354bd990 100644 --- a/challenges/html5-and-css.json +++ b/challenges/html5-and-css.json @@ -1989,7 +1989,7 @@ ], "tests": [ "assert($('input[type=\"radio\"]').length > 1, 'Your page should have two radio button elements.')", - "assert($('input[type=\"radio\"]:nth-child(1)').attr('name') === 'indoor-outdoor', 'Give your radio buttons the name attribute of \"indoor-outdoor\".')", + "assert($('input[type=\"radio\"]:nth-child(1)').attr('name') === 'indoor-outdoor' && $('input[type=\"radio\"]:nth-child(2)').attr('name') === 'indoor-outdoor', 'Give your radio buttons the name attribute of \"indoor-outdoor\".')", "assert($('label').length > 1, 'Each of your two radio button elements should be nested in a label element.')", "assert(editor.match(/<\\/label>/g) && editor.match(/