Skip to content
Permalink
Browse files

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

…tests
  • Loading branch information...
rwaldron committed Oct 15, 2012
1 parent 8a4dc36 commit f3323901f907fd139fe22761590af5be8460a2f0
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/unit/support.js
@@ -247,6 +247,9 @@ testIframeWithCallback( "A background on the testElement does not cause IE8 to c

if ( expected ) {
test("Verify that the support tests resolve as expected per browser", function() {

expect( jQuery(expected).size() );

for ( var i in expected ) {
if ( jQuery.ajax || i !== "ajax" && i !== "cors" ) {
equal( jQuery.support[i], expected[i], "jQuery.support['" + i + "']: " + jQuery.support[i] + ", expected['" + i + "']: " + expected[i]);

0 comments on commit f332390

Please sign in to comment.
You can’t perform that action at this time.