summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js')
-rw-r--r--test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js b/test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js
index b05925ef5..723ff6aac 100644
--- a/test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js
+++ b/test/built-ins/Promise/prototype/then/S25.4.5.3_A2.1_T1.js
@@ -9,8 +9,8 @@ author: Sam Mikes
description: Promise.prototype.then throw if 'this' is non-Object
---*/
-var p = new Promise(function () {});
+var p = new Promise(function() {});
assert.throws(TypeError, function() {
- p.then.call(3, function () {}, function () {});
+ p.then.call(3, function() {}, function() {});
});