Skip to content

Commit

Permalink
Use original output from develop branch for generic type format test
Browse files Browse the repository at this point in the history
  • Loading branch information
benagain committed Apr 2, 2023
1 parent c6de3e0 commit daf9ac3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Tests/FluentAssertions.Specs/Formatting/FormatterSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,24 +213,28 @@ public void When_the_object_is_a_generic_type_without_custom_string_representati
act.Should().Throw<XunitException>()
.And.Message.Should().Match(
"""
Expected stuff to be equal to {FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32, *]]
Expected stuff to be equal to {
FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32 *]]
{
Children = {1, 2, 3, 4},
Description = "Stuff_1",
StuffId = 1
}, FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32, *]]
},
FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32 *]]
{
Children = {1, 2, 3, 4},
Description = "WRONG_DESCRIPTION",
StuffId = 2
}
}
, but {FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32, *]]
, but {
FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32 *]]
{
Children = {1, 2, 3, 4},
Description = "Stuff_1",
StuffId = 1
}, FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32, *]]
},
FluentAssertions.Specs.Formatting.FormatterSpecs+Stuff`1[[System.Int32 *]]
{
Children = {1, 2, 3, 4},
Description = "Stuff_2",
Expand Down

0 comments on commit daf9ac3

Please sign in to comment.