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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow transform functions to report errors #472

Merged
merged 1 commit into from Sep 27, 2021

Conversation

thediveo
Copy link
Collaborator

@thediveo thediveo commented Sep 27, 2021

  • additionally accepts second error-type transform function return value
  • adds test cases
  • updates WithTransform godoc

Okay, so I already managed to ignore the first highlighted bullet point in CONTRIBUTING.md 馃う馃徏 So, here's issue #471 .

I ran make test to do the formatting checks, vetting, and finally unit testing with success.

- additionally accepts second error-type transform function return value
- adds test cases
- updates WithTransform godoc
@onsi
Copy link
Owner

onsi commented Sep 27, 2021

This is fantastic - thank you!

@onsi onsi merged commit bf93408 into onsi:master Sep 27, 2021
@thediveo thediveo deleted the feature/transform-matcher branch November 1, 2021 18:16
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