Skip to content

MustBeTrimmedXXX and IsTrimmedXXX assertions - #89

Merged
feO2x merged 9 commits into
devfrom
features/must-be-trimmed
Sep 19, 2023
Merged

feO2x merged 9 commits into
devfrom
features/must-be-trimmed

Conversation

@feO2x

@feO2x feO2x commented Sep 19, 2023

Copy link
Copy Markdown
Owner

resolves #78

I could remove one null-forgiving operator from MustNotBeNullOrEmpty and I needed to replace 'ConditionIsAlwaysTrueOrFalse' with 'ConditionIsAlwaysTrueOrFalseAccordingToNullableAPIContract' in the whole file.

Signed-off-by: Kenny Pflug <[email protected]>
I also removed the IsTrimmedXXX assertions for Span<T> as there is an explicit conversion from Span<T> to ReadOnlySpan<T>

Signed-off-by: Kenny Pflug <[email protected]>
@feO2x feO2x self-assigned this Sep 19, 2023
@feO2x feO2x linked an issue Sep 19, 2023 that may be closed by this pull request
@feO2x
feO2x merged commit 60e291b into dev Sep 19, 2023
@feO2x
feO2x deleted the features/must-be-trimmed branch September 19, 2023 05:39
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.

Add string assertion "MustBeTrimmed"

1 participant