Skip to content
Browse files
No ticket: fix failure from zero-assertion test generating a second e…
…mpty OL element. Closes gh-888
  • Loading branch information
gibson042 authored and rwaldron committed Aug 9, 2012
1 parent 1d8bf0a commit ba6372d968447c2ca983f6afbf9e2a58de6dc9b8
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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)" );

0 comments on commit ba6372d

Please sign in to comment.