mirror of https://github.com/tc39/test262.git
update iterator helpers tests that passed even in noncompliant impls
This commit is contained in:
parent
e273cd470a
commit
9efb4f8e53
|
@ -19,3 +19,5 @@ assert.sameValue(done, true);
|
|||
assert.throws(TypeError, function() {
|
||||
iterator.reduce(() => {});
|
||||
});
|
||||
|
||||
iterator.reduce(() => {}, 0);
|
||||
|
|
|
@ -18,3 +18,5 @@ let iterator = (function* () {
|
|||
assert.throws(TypeError, function () {
|
||||
iterator.reduce(nonCallable);
|
||||
});
|
||||
|
||||
iterator.reduce(() => {});
|
||||
|
|
Loading…
Reference in New Issue