summaryrefslogtreecommitdiff
path: root/test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js')
-rw-r--r--test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js b/test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js
index 2342f69a6..5e056c140 100644
--- a/test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js
+++ b/test/built-ins/GeneratorPrototype/return/try-finally-nested-try-catch-within-outer-try-after-nested.js
@@ -13,6 +13,7 @@ features: [generators]
var inCatch = 0;
var inFinally = 0;
var unreachable = 0;
+
function* g() {
try {
try {
@@ -29,7 +30,7 @@ function* g() {
var iter = g();
var result;
- iter.next();
+iter.next();
assert.sameValue(inCatch, 1, '`catch` code path executed');
assert.sameValue(inFinally, 1, '`finally` code path executed');