Skip to content

test: remove unnecessary null-forgiving operators after IsNotNull asserts - #1603

Open
BenjaminMichaelis wants to merge 1 commit into
mainfrom
chore/remove-redundant-null-forgiving-in-tests
Open

BenjaminMichaelis wants to merge 1 commit into
mainfrom
chore/remove-redundant-null-forgiving-in-tests

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

TUnit's IsNotNull() flows nullability, so the ! after it is redundant. Mechanical cleanup in McpApiTokenServiceTests and PwnedPasswordValidatorTests; no behavior change. Both classes pass locally (10 and 8 tests).

Split out of #1267 so that PR stays focused.

This branch has not been deployed

No deployments
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