mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Adds missing expect() call in test/unit/support.js, fixes failing IE tests
This commit is contained in:
parent
8a4dc3657e
commit
f3323901f9
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user