From: Daniel Herman Date: Fri, 19 Jul 2013 01:17:29 +0000 (-0400) Subject: No ticket: add assertions for jQuery.when( array ). Close gh-1312. X-Git-Tag: 2.1.0-beta1~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=584a4af9c8633b35fe49152c81977de03f885826;p=jquery.git No ticket: add assertions for jQuery.when( array ). Close gh-1312. --- diff --git a/test/unit/deferred.js b/test/unit/deferred.js index 4e545303d..6e4d5c440 100644 --- a/test/unit/deferred.js +++ b/test/unit/deferred.js @@ -316,7 +316,7 @@ test( "jQuery.Deferred.then - context", function() { test( "jQuery.when", function() { - expect( 34 ); + expect( 37 ); // Some other objects jQuery.each({ @@ -328,7 +328,9 @@ test( "jQuery.when", function() { "false": false, "null": null, "undefined": undefined, - "a plain object": {} + "a plain object": {}, + "an array": [ 1, 2, 3 ] + }, function( message, value ) { ok( jQuery.isFunction(