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

Tests added for Read() in env #134

Merged
merged 3 commits into from Feb 1, 2022
Merged

Conversation

gozeloglu
Copy link
Contributor

I added tests for Read() in env.go. I can add more test cases if you want.

Signed-off-by: Gökhan Özeloğlu gozeloglu@gmail.com

* Different test cases added.

Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
@knadh
Copy link
Owner

knadh commented Jan 20, 2022

Hi @gozeloglu , if you're planning on adding more tests for the same package, please amend this PR to include all of them. It wouldn't be ideal to merge PRs per function in the same small package. Thanks!

@gozeloglu
Copy link
Contributor Author

Hi @knadh. OK, you are right. I'll consider adding more tests for the env package and inform you. Thank you.

* Added more test and existing code refactored.

Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
@gozeloglu
Copy link
Contributor Author

Hi @knadh. I refactored the TestProvider() and it seems the PR is ready to code review. I am not planning to add more tests for env package.

@gozeloglu
Copy link
Contributor Author

Hi @knadh. This is a kindly ping. Could you please review my PR?

@knadh knadh merged commit fe680f4 into knadh:master Feb 1, 2022
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