summaryrefslogtreecommitdiff
path: root/test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js')
-rw-r--r--test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js b/test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js
index aac9dd130..fdc9fa55d 100644
--- a/test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js
+++ b/test/built-ins/GeneratorPrototype/throw/try-finally-following-finally.js
@@ -10,7 +10,6 @@ features: [generators]
---*/
var unreachable = 0;
-
function* g() {
yield 1;
try {
@@ -40,9 +39,7 @@ result = iter.next();
assert.sameValue(result.value, 4, 'Third result `value`');
assert.sameValue(result.done, false, 'Third result `done` flag');
-assert.throws(Test262Error, function() {
- iter.throw(new Test262Error());
-});
+assert.throws(Test262Error, function() { iter.throw(new Test262Error()); });
assert.sameValue(
unreachable,