Skip to content
Permalink
Browse files

No ticket: add assertions for jQuery.when( array ). Close gh-1312.

  • Loading branch information...
dcherman authored and mgol committed Jul 19, 2013
1 parent 3e3680c commit 584a4af9c8633b35fe49152c81977de03f885826
Showing with 4 additions and 2 deletions.
  1. +4 −2 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(

0 comments on commit 584a4af

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