Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Commented Issue: ignore white spaces leading because message [11421]

$
0
0
When I write a because message starting with "because", FluentAssertions is clever enough to omit the "because" it normally writes of its own.

In more complex scenarios, I'd like to preceed the because with new lines: Should().Be("bla", "\n\rbecause ...");

Therefore, it'd be cool if all leading white space woud be ignored in the check whether the "because" has to be added or not.
Comments: Associated with changeset 71125.

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>