mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion tests: Fixed location of expect() call.
This commit is contained in:
parent
02903259e1
commit
da0714e0dc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user