Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace arr.map() with for-loop to avoid stack overflow #117

Merged
merged 1 commit into from
May 31, 2021

Conversation

bartveneman
Copy link
Contributor

Replaces arr.map() with a for-loop to avoid a "Max call stack size exceeded" error for fixtures with many lines to dedent.

Closes #115

Co-authored-by: @lukeed

Replaces `arr.map()` with a for-loop to avoid a "Max call stack size exceeded" error for fixtures with *many* lines to dedent.

Closes lukeed#115
Copy link
Owner

@lukeed lukeed left a comment

Choose a reason for hiding this comment

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

Thanks! I trust that this still worked with your massive comparison?

@lukeed lukeed merged commit b84c0a4 into lukeed:master May 31, 2021
@bartveneman
Copy link
Contributor Author

Yeah, worked flawlessly 😄

Thanks for the quick follow-up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Maximum call stack size exceeded" for assert.fixture()
2 participants