From 8688c4ab79059c3097098605e69f1ee5eda6c409 Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Mon, 7 Oct 2019 12:43:23 -0400 Subject: [PATCH] Fix typo: iterator => iterator (#2394) Fix #2392 --- .../prototype/cleanupSome/poisoned-callback-throws.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/built-ins/FinalizationGroup/prototype/cleanupSome/poisoned-callback-throws.js b/test/built-ins/FinalizationGroup/prototype/cleanupSome/poisoned-callback-throws.js index 997348cd8a..f56a5f813b 100644 --- a/test/built-ins/FinalizationGroup/prototype/cleanupSome/poisoned-callback-throws.js +++ b/test/built-ins/FinalizationGroup/prototype/cleanupSome/poisoned-callback-throws.js @@ -51,12 +51,12 @@ emptyCells().then(function() { assert.throws(Test262Error, function() { fg.cleanupSome(poisoned); }); - + assert.sameValue(called, 1); assert.sameValue(typeof iterator, 'object'); - assert.sameValue(typeof iteraror.next, 'function'); + assert.sameValue(typeof iterator.next, 'function'); assert.throws(TypeError, function() { iterator.next(); - }, 'iterator.next throws a TypeError if IsFinalizationGroupCleanupJobActive is false'); + }, 'iterator.next throws a TypeError if IsFinalizationGroupCleanupJobActive is false'); }).then($DONE, resolveAsyncGC);