Skip to content

Commit

Permalink
fixes #92 adjusting output formatting to account for platform differe…
Browse files Browse the repository at this point in the history
…nces
  • Loading branch information
wwwlicious committed Dec 15, 2018
1 parent 8842f62 commit cbca1af
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/Cake.Incubator.Tests/LoggingExtensionsTests.cs
Expand Up @@ -62,14 +62,10 @@ public void Dump_ToStringsCustomType()
Children = new List<Person> { new Person("Toddler", 2), new Person("Teenager", 13) }
};

const string expected = @" Parent: Older person is 42
Children: [ Name: Toddler
Age: 2
, Name: Teenager
Age: 13
]
";
test.Dump().Should().Be(expected);
const string expected = "\tParent:\tOlder person is 42\r\n\tChildren:\t[ \tName:\tToddler\r\n\t\tAge:\t2\r\n\t, \tName:\tTeenager\r\n\t\tAge:\t13\r\n\t ]\r\n";

var dump = test.Dump();
dump.Should().Be(expected);
}

[Fact(Skip = "Testing complex object output")]
Expand Down

0 comments on commit cbca1af

Please sign in to comment.