Skip to content

Commit

Permalink
No ticket: add assertions for jQuery.when( array ). Close gh-1312.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherman authored and mgol committed Aug 19, 2013
1 parent 3e3680c commit 584a4af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/unit/deferred.js
Expand Up @@ -316,7 +316,7 @@ test( "jQuery.Deferred.then - context", function() {


test( "jQuery.when", function() { test( "jQuery.when", function() {


expect( 34 ); expect( 37 );


// Some other objects // Some other objects
jQuery.each({ jQuery.each({
Expand All @@ -328,7 +328,9 @@ test( "jQuery.when", function() {
"false": false, "false": false,
"null": null, "null": null,
"undefined": undefined, "undefined": undefined,
"a plain object": {} "a plain object": {},
"an array": [ 1, 2, 3 ]

}, function( message, value ) { }, function( message, value ) {
ok( ok(
jQuery.isFunction( jQuery.isFunction(
Expand Down

0 comments on commit 584a4af

Please sign in to comment.