Commented Issue: AllProperties().IncludingNestedObjects() throws exception on...
The following code causes an exception in 1.7.1.1:var obj1 = new { Bytes = new byte[] { 1, 2, 3, 4 }, Obj = new { A = 1, B = 2 } };var obj2 = new { Bytes = new byte[] { 1, 2, 3, 4 }, Obj = new { A = 1,...
View ArticleClosed Issue: Collection.Should().Equal() bug or feature? [11960]
Version 1.7.1var collection = new[] { "1" };collection.Should().Equal("1");Raises an exception:Expected collection to be equal to "1", but {"1"} differs at index 0.Thanks.Comments: Cannot be fixed.
View ArticleCreated Issue: GenericDictionaryAssertions.Equal broken for dictionary with...
dictionary.Should().Equal(new Dictionary<string, object> { { "name", null } });This throws NullReferenceException because the code in GenericDictionaryAssertions uses .Equal on the null value....
View ArticleSource code checked in, #75874
Fixed some namespaces. Changed generic reflection logic into extension methods.
View ArticleSource code checked in, #75893
Fixed exception when comparing dictionaries with null values
View ArticleCommented Issue: GenericDictionaryAssertions.Equal broken for dictionary with...
dictionary.Should().Equal(new Dictionary<string, object> { { "name", null } });This throws NullReferenceException because the code in GenericDictionaryAssertions uses .Equal on the null value....
View ArticleSource code checked in, #75894
Merge of the fixed exception when comparing dictionaries with null values
View ArticleCommented Issue: GenericDictionaryAssertions.Equal broken for dictionary with...
dictionary.Should().Equal(new Dictionary<string, object> { { "name", null } });This throws NullReferenceException because the code in GenericDictionaryAssertions uses .Equal on the null value....
View ArticleCreated Feature: Support a reversed collection assertion [12016]
If you have a configuration value which can only take a few specific values. For example, a value x is supposed to be only one of the following values: 2, 3, 5, 7.It will be nice to write something...
View ArticleSource code checked in, #75985
Reorganized the assertion classes into dedicated folders
View ArticleCommented Feature: Support a reversed collection assertion [12016]
If you have a configuration value which can only take a few specific values. For example, a value x is supposed to be only one of the following values: 2, 3, 5, 7.It will be nice to write something...
View ArticleCommented Feature: Support a reversed collection assertion [12016]
If you have a configuration value which can only take a few specific values. For example, a value x is supposed to be only one of the following values: 2, 3, 5, 7.It will be nice to write something...
View Article