Skip to content

Commit

Permalink
Accordion tests: Fixed location of expect() call.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jul 26, 2011
1 parent 0290325 commit da0714e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/accordion/accordion_core.js
Expand Up @@ -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,
Expand Down

0 comments on commit da0714e

Please sign in to comment.