mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 18:48:19 -05:00
No ticket: fix failure from zero-assertion test generating a second empty OL element. Closes gh-888
This commit is contained in:
committed by
Rick Waldron
parent
1d8bf0a2b5
commit
ba6372d968
@@ -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)" );
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user