Commit ba6372d9 authored by Richard Gibson's avatar Richard Gibson Committed by Rick Waldron

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

parent 1d8bf0a2
......@@ -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)" );
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment