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 tests for env.go #132

Merged
merged 1 commit into from Jan 18, 2022
Merged

Add tests for env.go #132

merged 1 commit into from Jan 18, 2022

Conversation

gozeloglu
Copy link
Contributor

Hi. I wanted to add tests for env.go. I added two test cases and also tried to add for non-nil cb cases but I was not succeeded to add them. I know this does not cover all cases, but this first commit can be seen as the first starting point of the env_test.go. I am ready to add other test cases with your help. I can refactor the code if you want as well.

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

* Nil cb and empty string prefix cases handled.

Signed-off-by: Gökhan Özeloğlu <gozeloglu@gmail.com>
@knadh knadh merged commit ce5f63e into knadh:master Jan 18, 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