Skip to content
This repository was archived by the owner on Feb 1, 2025. It is now read-only.

Completed generator should throw correct error after it had error inside #102

Merged
merged 3 commits into from
Apr 4, 2014

Conversation

termi
Copy link
Contributor

@termi termi commented Apr 4, 2014

No description provided.

try {
u.next();
} catch (err) {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you assert.strictEqual(err, 1) here?

@termi
Copy link
Contributor Author

termi commented Apr 4, 2014

Travis failed es6 test in node v0.11.11 due this bug

benjamn added a commit that referenced this pull request Apr 4, 2014
Completed generator should throw correct error after it had error inside.
@benjamn benjamn merged commit 1527d80 into facebook:master Apr 4, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants