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

Created Issue: Calling Should().Be() on a different type causes a StackOverflow exception [11360]

$
0
0
var a = new ObjectA();
var b = new ObjectB();

a.Should().Be(b);

This is of course a syntactical error, but causing a StackOverflowException to be thrown isn't the best way to handle it either.

Viewing all articles
Browse latest Browse all 1402


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