aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/deferred.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/deferred.js')
-rw-r--r--test/unit/deferred.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/deferred.js b/test/unit/deferred.js
index 9b99ae541..eab14da2d 100644
--- a/test/unit/deferred.js
+++ b/test/unit/deferred.js
@@ -351,18 +351,18 @@ test("jQuery.when - joined", function() {
var promise = jQuery.when( defer1, defer2 ).done(function( a, b ) {
if ( shouldResolve ) {
- same( [ a, b ], expected, code + " => resolve" );
+ deepEqual( [ a, b ], expected, code + " => resolve" );
} else {
ok( false , code + " => resolve" );
}
}).fail(function( a, b ) {
if ( shouldError ) {
- same( [ a, b ], expected, code + " => reject" );
+ deepEqual( [ a, b ], expected, code + " => reject" );
} else {
ok( false , code + " => reject" );
}
}).progress(function progress( a, b ) {
- same( [ a, b ], expectedNotify, code + " => progress" );
+ deepEqual( [ a, b ], expectedNotify, code + " => progress" );
});
} );
} );