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

add stream custom matcher and combinator methods #140

Merged

Conversation

dmackdev
Copy link
Contributor

@dmackdev dmackdev commented Apr 5, 2024

Closes #92.
Closes #93.

@dmackdev
Copy link
Contributor Author

dmackdev commented Apr 5, 2024

@GlenDC The remaining step is to add tests. They would be a duplicate of the HttpMatcher tests only for SocketMatcher. Any ideas on how we could prevent duplication - a macro perhaps?

@GlenDC
Copy link
Member

GlenDC commented Apr 5, 2024

@GlenDC The remaining step is to add tests. They would be a duplicate of the HttpMatcher tests only for SocketMatcher. Any ideas on how we could prevent duplication - a macro perhaps?

Your PR looks good. I'm okay with what can be seen as duplication here though. No need to couple things that aren't necessary. So feel free to write the tests by copying over some code, all good.

@dmackdev dmackdev marked this pull request as ready for review April 6, 2024 08:50
@GlenDC
Copy link
Member

GlenDC commented Apr 6, 2024

Thanks a lot, LGTM!

@GlenDC GlenDC merged commit 773adf5 into plabayo:main Apr 6, 2024
31 checks passed
@dmackdev dmackdev deleted the add-stream-custom-matcher-and-combinator-methods branch April 6, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants