Adds missing expect() call in test/unit/support.js, fixes failing IE tests

This commit is contained in:
Rick Waldron 2012-10-15 14:09:03 -04:00
parent 8a4dc3657e
commit f3323901f9

View File

@ -247,6 +247,9 @@ testIframeWithCallback( "A background on the testElement does not cause IE8 to c
if ( expected ) { if ( expected ) {
test("Verify that the support tests resolve as expected per browser", function() { test("Verify that the support tests resolve as expected per browser", function() {
expect( jQuery(expected).size() );
for ( var i in expected ) { for ( var i in expected ) {
if ( jQuery.ajax || i !== "ajax" && i !== "cors" ) { if ( jQuery.ajax || i !== "ajax" && i !== "cors" ) {
equal( jQuery.support[i], expected[i], "jQuery.support['" + i + "']: " + jQuery.support[i] + ", expected['" + i + "']: " + expected[i]); equal( jQuery.support[i], expected[i], "jQuery.support['" + i + "']: " + jQuery.support[i] + ", expected['" + i + "']: " + expected[i]);