summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js')
-rw-r--r--test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js b/test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js
index 2032211c2..5a8bf136e 100644
--- a/test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js
+++ b/test/built-ins/Promise/prototype/then/S25.4.5.3_A4.1_T2.js
@@ -14,10 +14,10 @@ flags: [async]
var obj = {};
var p = Promise.reject(obj);
-p.then(undefined, undefined).then(function () {
- $ERROR("Should not be called -- promise was rejected.");
-}, function (arg) {
- if (arg !== obj) {
- $ERROR("Expected resolution object to be passed through, got " + arg);
- }
- }).then($DONE, $DONE);
+p.then(undefined, undefined).then(function() {
+ $ERROR("Should not be called -- promise was rejected.");
+}, function(arg) {
+ if (arg !== obj) {
+ $ERROR("Expected resolution object to be passed through, got " + arg);
+ }
+}).then($DONE, $DONE);