Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add placeholder escaping in BeEquivalentTo message#33

Merged
dennisdoomen merged 2 commits into
fluentassertions:masterfrom
alhimik45:format-exception-32
Dec 27, 2019
Merged

Add placeholder escaping in BeEquivalentTo message#33
dennisdoomen merged 2 commits into
fluentassertions:masterfrom
alhimik45:format-exception-32

Conversation

@alhimik45

Copy link
Copy Markdown
Contributor

Fixes #32

//-----------------------------------------------------------------------------------------------------------
// Act & Assert
//-----------------------------------------------------------------------------------------------------------
actual.Should().Invoking(x => x.BeEquivalentTo(expected))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would prefer to see the expected output instead of just the exception. For instance, would your fix change the output in any way? I'm not sure if there are existing tests that do that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added expected message

@dennisdoomen dennisdoomen merged commit 9d21fa4 into fluentassertions:master Dec 27, 2019
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.

Should().BeEquivalentTo() throws FormatException

2 participants