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.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/deferred.js b/test/unit/deferred.js
index 3e147a96e..32f325681 100644
--- a/test/unit/deferred.js
+++ b/test/unit/deferred.js
@@ -776,8 +776,8 @@ QUnit.test( "jQuery.Deferred - resolved to a notifying deferred", function( asse
done = assert.async( 2 );
deferred.resolve( jQuery.Deferred( function( notifyingDeferred ) {
- notifyingDeferred.notify( "foo", "bar" );
- notifyingDeferred.resolve( "baz", "quux" );
+ notifyingDeferred.notify( "foo", "bar" );
+ notifyingDeferred.resolve( "baz", "quux" );
} ) );
// Apply an empty then to force thenable unwrapping.
@@ -808,7 +808,7 @@ QUnit.test( "jQuery.when(nonThenable) - like Promise.resolve", function( assert
// Support: Android 4.0 only
// Strict mode functions invoked without .call/.apply get global-object context
- defaultContext = (function getDefaultContext() { return this; }).call(),
+ defaultContext = ( function getDefaultContext() { return this; } ).call(),
done = assert.async( 20 );
@@ -915,7 +915,7 @@ QUnit.test( "jQuery.when(thenable) - like Promise.resolve", function( assert ) {
// Support: Android 4.0 only
// Strict mode functions invoked without .call/.apply get global-object context
- defaultContext = (function getDefaultContext() { return this; }).call(),
+ defaultContext = ( function getDefaultContext() { return this; } ).call(),
done = assert.async( CASES * 2 );
@@ -995,7 +995,7 @@ QUnit.test( "jQuery.when(a, b) - like Promise.all", function( assert ) {
// Support: Android 4.0 only
// Strict mode functions invoked without .call/.apply get global-object context
- defaultContext = (function getDefaultContext() { return this; }).call(),
+ defaultContext = ( function getDefaultContext() { return this; } ).call(),
done = assert.async( 98 );