diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2011-11-06 15:27:42 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-11-06 15:27:42 -0500 |
commit | f35ba5e699c15a1987baa389dbd4fc99f7a7eb03 (patch) | |
tree | a5716daad3f92f55af14f7c6573ff4ee8ba88a3b /test/unit/deferred.js | |
parent | 83c72eaa9cea9fec3b38535378334b27ff6bcfb2 (diff) | |
download | jquery-f35ba5e699c15a1987baa389dbd4fc99f7a7eb03.tar.gz jquery-f35ba5e699c15a1987baa389dbd4fc99f7a7eb03.zip |
Fix #10691. Remove all instances of equals() and same(), as these are deprecated in QUnit.
Diffstat (limited to 'test/unit/deferred.js')
-rw-r--r-- | test/unit/deferred.js | 6 |
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" ); }); } ); } ); |