Commit f3323901 authored by Rick Waldron's avatar Rick Waldron

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

parent 8a4dc365
...@@ -247,6 +247,9 @@ testIframeWithCallback( "A background on the testElement does not cause IE8 to c ...@@ -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]);
......
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