Skip to content

Instantly share code, notes, and snippets.

@segilbert
segilbert / TestHelper.cs
Last active December 13, 2015 22:08 — forked from sinairv/TestHelper.cs
public static class TestHelpers
{
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue)
{
ShouldEqualWithDiff(actualValue, expectedValue, StringComparison.Ordinal, DiffStyle.Full, Console.Out, string.Empty);
}
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue, string message)
{
ShouldEqualWithDiff(actualValue, expectedValue, StringComparison.Ordinal, DiffStyle.Full, Console.Out, message);