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

Allow Either Values To Be Tested #8133

Merged
merged 2 commits into from
May 19, 2023
Merged

Allow Either Values To Be Tested #8133

merged 2 commits into from
May 19, 2023

Conversation

adamgfraser
Copy link
Contributor

This PR allows Either values returning a test result to be used directly in tests. This can be useful in for example testing codecs where it is nice to be able to make assertions about the success case with the failure case being automatically translated into test failure.

@adamgfraser adamgfraser requested a review from jdegoes May 19, 2023 20:21
@jdegoes jdegoes merged commit 72bfeac into zio:series/2.x May 19, 2023
21 checks passed
@adamgfraser adamgfraser deleted the either branch June 27, 2023 18:13
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.

None yet

2 participants