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

Refactor Assertion Condition to Use Else #68

Merged
merged 2 commits into from
May 31, 2024

Conversation

threeal
Copy link
Owner

@threeal threeal commented May 31, 2024

This pull request resolves #67 by refactoring the assert function to use the else condition. This change simplifies the assert function by accepting any condition and only determining the assertion message based on the given condition if it is supported. If not, it falls back to the default assertion message.

@threeal threeal added this to the Version 0.3.0 milestone May 31, 2024
@threeal threeal self-assigned this May 31, 2024
@threeal threeal merged commit 9aa1989 into main May 31, 2024
2 checks passed
@threeal threeal deleted the refactor-assert-func-to-use-else branch May 31, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Assertion Condition to Use Else
1 participant