Skip to content

Commit

Permalink
tests: replace CRLF with LF
Browse files Browse the repository at this point in the history
  • Loading branch information
luantranminh committed Aug 10, 2024
1 parent 06f894a commit f0a9f8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Atlas.Provider.Test/GenerateSchemaTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public void Can_generate_script(string providerName, string expectedFile)
string output = process.StandardOutput.ReadToEnd();
string error = process.StandardError.ReadToEnd();
process.WaitForExit();
Assert.Equal(FileReader.Read(expectedFile), output);
string normalizedOutput = output.Replace("\r\n", "\n");
Assert.Equal(FileReader.Read(expectedFile), normalizedOutput);
Assert.Equal("", error);
}
}
Expand Down

0 comments on commit f0a9f8c

Please sign in to comment.