Quantcast
Channel: Fluent Assertions
Browsing all 1402 articles
Browse latest View live
↧

Source code checked in, #75833

Renamed a spec. Updated the NuGet package.

View Article


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 Article


Closed 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 Article

Created 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 Article

Source code checked in, #75874

Fixed some namespaces. Changed generic reflection logic into extension methods.

View Article


Source code checked in, #75875

Removed the obsolete verification methods

View Article

Source code checked in, #75893

Fixed exception when comparing dictionaries with null values

View Article

Commented 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 Article


Source code checked in, #75894

Merge of the fixed exception when comparing dictionaries with null values

View Article


Commented 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 Article

Source code checked in, #75901

Refactored the equality steps a bit more.

View Article

Source code checked in, #75902

Added the WinRT projects into the main project

View Article

Created 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


New Post: Reverse collection assertion

I created issue #12016 for this.

View Article

Source code checked in, #75985

Reorganized the assertion classes into dedicated folders

View Article


Source code checked in, #75986

Removed some unused project folders

View Article

Source code checked in, #75988

Support BeOneOf on numeric assertions

View Article


Commented 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

Source code checked in, #75989

Changed order of parameters in failure message

View Article

Commented 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
Browsing all 1402 articles
Browse latest View live