From: Scott González Date: Tue, 26 Jul 2011 18:36:18 +0000 (-0400) Subject: Accordion tests: Fixed location of expect() call. X-Git-Tag: 1.9m6~99^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=da0714e0dc1630dff2c57a1e9a8963f73da4b2f3;p=jquery-ui.git Accordion tests: Fixed location of expect() call. --- diff --git a/tests/unit/accordion/accordion_core.js b/tests/unit/accordion/accordion_core.js index ec4ca29d5..18d2d6bfb 100644 --- a/tests/unit/accordion/accordion_core.js +++ b/tests/unit/accordion/accordion_core.js @@ -3,8 +3,8 @@ module( "accordion: core", accordionSetupTeardown() ); $.each( { div: "#list1", ul: "#navigation", dl: "#accordion-dl" }, function( type, selector ) { - expect( 4 ); test( "markup structure: " + type, function() { + expect( 4 ); var element = $( selector ).accordion(); ok( element.hasClass( "ui-accordion" ), "main element is .ui-accordion" ); equal( element.find( ".ui-accordion-header" ).length, 3,