You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
charsGen should generate non empty list of chars, that is why IllegalArgumenException("empty string!") should be never thown.
Unfortunately if an iteration fails, you see:
! Exception raised on property evaluation.
> ARG_0: ""
> ARG_0_ORIGINAL: "A"
> Exception: java.lang.IllegalArgumentException: empty string!
Empty string is very confusing, because it hides the real cause and contradicts with generator definition (nonEmptyListOf).
If you substitute stringGen with charsGen the output is correct:
! Exception raised on property evaluation.
> ARG_0: List(" ")
> ARG_0_ORIGINAL: List("B")
> Exception: java.lang.AssertionError: assertion failed: should see this me
ssage
It looks like any map operation on a generator of lists causes this problem.
The text was updated successfully, but these errors were encountered:
charsGen should generate non empty list of chars, that is why IllegalArgumenException("empty string!") should be never thown.
Unfortunately if an iteration fails, you see:
Empty string is very confusing, because it hides the real cause and contradicts with generator definition (nonEmptyListOf).
If you substitute stringGen with charsGen the output is correct:
It looks like any map operation on a generator of lists causes this problem.
The text was updated successfully, but these errors were encountered: