We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e5a1b commit 8edaf50Copy full SHA for 8edaf50
1 file changed
test/Typewriter.Test/MultipleNamespacesTestRunner.cs
@@ -81,8 +81,8 @@ public static void Run(TestLanguage language)
81
/// <param name="errorCounter">Error counter for the test run</param>
82
private static void CompareFiles(StringBuilder testOutputBuilder, string expectedFilePath, string actualOutputFilePath, ref int errorCounter)
83
{
84
- var expectedFileContents = File.ReadAllText(expectedFilePath);
85
- var actualFileContents = File.ReadAllText(actualOutputFilePath);
+ var expectedFileContents = File.ReadAllText(expectedFilePath).Replace("\r", "");
+ var actualFileContents = File.ReadAllText(actualOutputFilePath).Replace("\r", "");
86
if (expectedFileContents != actualFileContents)
87
88
testOutputBuilder.AppendLine();
0 commit comments