Skip to content

Feature: Add Maybe{T} assertions/test#3

Open
seangwright wants to merge 1 commit intopedromtcosta:masterfrom
seangwright:feat/maybe-extensions
Open

Feature: Add Maybe{T} assertions/test#3
seangwright wants to merge 1 commit intopedromtcosta:masterfrom
seangwright:feat/maybe-extensions

Conversation

@seangwright
Copy link
Copy Markdown

I added some assertions for Maybe<T>:

Maybe<string> test = "test";

test.Should().HaveValue("test");

Maybe<string> test = null;

test.Should().HaveNoValue();

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