-
Notifications
You must be signed in to change notification settings - Fork 140
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
Supply library-defined props with NewConnectionProperties #157
Supply library-defined props with NewConnectionProperties #157
Conversation
I wasn't too sure about testing this. What would be your expectations for this? A simple check if |
Thank you for the PR! Yes, I think a simple check to assert the existence of the expected keys and values would suffice. The keys |
I added a test for both. However I'm not too sure about the version string being checked here. Ideally it would be valid whether or not we have something (e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
I understand your point, and I think it's a matter of preference. I personally want my tests to be red when/if I do something (very) wrong, like setting the version string to Thank you for your contribution! |
Fixes #152