-
Notifications
You must be signed in to change notification settings - Fork 40
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
Maximum call stack size exceeded when comparing long strings #49
Comments
The stack trace would indeed indicate output, which is weird because I would have suspected shrinking. |
Are these stack overflows fixed by the optimiser in 0.19? |
I know nothing about the internals of of elm-test, but it sounds weird that shrinking would even happen when there are no fuzzers involved?
How to test that? |
If you have a test that always gives a stack overflow in 0.18, you could update it to 0.19 and see if it still stack overflows. |
I don't remember ever getting a stack overflow in 0.18. This example also works just fine with Elm 0.18 and elm-test 0.18.13-beta3, even if I make the strings longer (then it just takes forever). |
My bad, thought this was the 0.18 repo. Carry on. |
With a longer stack trace it looks like the problem arises from |
This might be the same problem as #22 or rtfeldman/node-test-runner#290 but here with very simple data which seems to point to a problem with output string diffing.
So, the following:
causes
Everything works if I make the strings the same by just changing "b" to "a".
The text was updated successfully, but these errors were encountered: