mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +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 ) {
|
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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user