diff --git a/UnitTests/TestHelpers.cs b/UnitTests/TestHelpers.cs index 6f09942a51..37faadb704 100644 --- a/UnitTests/TestHelpers.cs +++ b/UnitTests/TestHelpers.cs @@ -409,7 +409,7 @@ public static void AssertEqual (ITestOutputHelper output, string expectedLook, s output?.WriteLine ("But Was:" + Environment.NewLine + actualLook); } - Assert.Equal (expectedLook, actualLook); + Assert.Equal (expectedLook.Replace (Environment.NewLine, "\n"), actualLook.Replace (Environment.NewLine, "\n")); } #pragma warning restore xUnit1013 // Public method should be marked as test