-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Cleanup asserts #32968
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
Cleanup asserts #32968
Conversation
consider updating all instances in the repo https://github.com/search?q=repo%3Adotnet%2Fefcore+%22Assert.Equal%28true%2C%22&type=code cc @maumar |
It cannot be replaced in many cases, when the type is not boolean but instead is an |
@btecu Thank you for the contribution! |
* Cleanup asserts * Assert.True * fixing compilation error --------- Co-authored-by: maumar <[email protected]>
Use
Assert.Null
instead ofAssert.Equal(null, ...)
.