diff options
Diffstat (limited to 'test/unit/dimensions.js')
-rw-r--r-- | test/unit/dimensions.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js index 8b03b9ffc..0b2e63600 100644 --- a/test/unit/dimensions.js +++ b/test/unit/dimensions.js @@ -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)" ); } }); |