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

New Post: Error message for Be

$
0
0

I have the following code in test:

 

var result = _target.Execute(...); //returns double

result.Should().Be(100);

And I get the following assertions error message: "Expected value 400 to be exactly 100". That sounds not very clear for me (but I am not native speaker, so...). 

 


Viewing all articles
Browse latest Browse all 1402

Trending Articles



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