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
Please have a look at the branch where I hijacked one of the OptionOpsTests to show the issue.
I've added two tests. One works as expected and the description is passed to the RuleViolation. But as soon as one uses an Option in combination with "each" validator, the description is lost:
OptionOpsTests#"fail on Some that does not match the predicate with description"
The text was updated successfully, but these errors were encountered:
onmomo
added a commit
to onmomo/accord
that referenced
this issue
Nov 10, 2015
I wonder if this is reasonably expected behavior, or whether the two options are actually semantically distinct. I'll give it some thought when I'm less exhausted and see what I can come up with...
Please have a look at the branch where I hijacked one of the OptionOpsTests to show the issue.
I've added two tests. One works as expected and the description is passed to the RuleViolation. But as soon as one uses an Option in combination with "each" validator, the description is lost:
OptionOpsTests#"fail on Some that does not match the predicate with description"
The text was updated successfully, but these errors were encountered: