No ticket: fix failure from zero-assertion test generating a second empty OL element. Closes gh-888

This commit is contained in:
Richard Gibson
2012-08-09 10:42:09 -04:00
committed by Rick Waldron
parent 1d8bf0a2b5
commit ba6372d968

View File

@@ -426,7 +426,9 @@ testIframe( "dimensions/documentSmall", "window vs. small document", function( j
equal( jQuery( document ).height(), jQuery( window ).height(), "document height matches window height" );
equal( jQuery( document ).width(), jQuery( window ).width(), "document width matches window width" );
} else {
expect( 0 );
// all tests should have at least one assertion
expect( 1 );
ok( true, "skipping test (conditions not satisfied)" );
}
});