public static void AssertText(string expected, string actual, IApprovalFailureReporter reporter = null) { if (reporter == null) { reporter = GetReporter(DiffReporter.INSTANCE); } reporter = new MultiReporter(reporter, InlineTextReporter.INSTANCE); StringReporting.AssertEqual(expected, actual, reporter); }
public static void AssertEquals <T>(string expected, string actual) where T : IApprovalFailureReporter, new() { StringReporting.AssertEqual(expected, actual, new T()); }
public static void AssertEquals(string expected, string actual) { StringReporting.AssertEqual(expected, actual, GetReporter()); }
public static void AssertEquals(string expected, string actual, IApprovalFailureReporter reporter) { StringReporting.AssertEqual(expected, actual, reporter); }