Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@bamarsha
Copy link
Contributor

I ended up using the null-forgiving operator ! in a few places - mainly after Assert.IsNotNull, because the compiler doesn't realize the variable isn't nullable after this statement, and in one place where a non-nullable field in a test class is initialized after the class is created. Normally I would try to avoid !, but for a test project it seems OK.

Copy link
Contributor

@cesarzc cesarzc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks again for making all these changes.

@bamarsha bamarsha merged commit 7b36d44 into main Sep 30, 2020
@bamarsha bamarsha deleted the samarsha/tests-nullable branch September 30, 2020 23:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants