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

[bugfix] fix Nil, NotNil to check nil functions #12

Merged
merged 1 commit into from
Aug 28, 2022

Conversation

golanglibs
Copy link
Owner

Description

This PR fixes Nil and NotNil assertions to check for nil functions. Additional unit tests have been added to check each nilable type (pointer, map, slice, channel and function)

Issue Link

N/A

Checklist

  • I have prefixed the title of this PR with one of the following: [feature] [bugfix] [minor] [refactor] [doc]
  • If the PR is a feature, bugfix, minor or refactor, I have added thorough tests
  • I have updated documentation both in code and README.md - N/A

* add test cases for nil pointer, nil map, nil slice, nil chan and nil func
@golanglibs golanglibs force-pushed the bugfix/fix-nil-assertions-to-check-nil-func branch from 5ac1878 to 00f89c9 Compare August 28, 2022 17:09
@golanglibs golanglibs merged commit 719b0e5 into master Aug 28, 2022
@golanglibs golanglibs deleted the bugfix/fix-nil-assertions-to-check-nil-func branch August 28, 2022 17:10
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.

1 participant