summaryrefslogtreecommitdiff
path: root/test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js')
-rw-r--r--test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js b/test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js
index cb1c4318b..93c9cbad5 100644
--- a/test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js
+++ b/test/built-ins/GeneratorPrototype/throw/try-finally-nested-try-catch-within-outer-try-after-nested.js
@@ -11,7 +11,6 @@ features: [generators]
---*/
var unreachable = 0;
-
function* g() {
try {
yield 1;
@@ -58,9 +57,7 @@ assert.sameValue(
'statement following `yield` not executed (following `throw`)'
);
-assert.throws(Test262Error, function() {
- iter.next();
-});
+assert.throws(Test262Error, function() { iter.next(); });
result = iter.next();
assert.sameValue(