summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js')
-rw-r--r--test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js b/test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js
index 18ef595bf..2428711a6 100644
--- a/test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js
+++ b/test/built-ins/Promise/all/S25.4.4.1_A5.1_T1.js
@@ -15,15 +15,15 @@ flags: [async]
var iterThrows = {};
var error = new Test262Error();
iterThrows[Symbol.iterator] = function() {
- return {
- next: function() {
- throw error;
- }
- };
+ return {
+ next: function () {
+ throw error;
+ }
+ };
};
-Promise.all(iterThrows).then(function() {
- $ERROR('Promise unexpectedly resolved: Promise.all(iterThrows) should throw TypeError');
-}, function(reason) {
- assert.sameValue(reason, error);
-}).then($DONE, $DONE);
+Promise.all(iterThrows).then(function () {
+ $ERROR('Promise unexpectedly resolved: Promise.all(iterThrows) should throw TypeError');
+},function (reason) {
+ assert.sameValue(reason, error);
+}).then($DONE,$DONE);