Skip to content

Commit

Permalink
Ignore differences in newline style
Browse files Browse the repository at this point in the history
  • Loading branch information
vbreuss committed Mar 13, 2024
1 parent 89d773f commit f636734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/Api/Testably.Abstractions.Api.Tests/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public static string GetExpectedApi(string framework, string assemblyName)
"Expected", $"{assemblyName}_{framework}.txt");
try
{
return File.ReadAllText(expectedPath);
return File.ReadAllText(expectedPath)
.Replace("\r\n", "\n");
}
catch
{
Expand Down

0 comments on commit f636734

Please sign in to comment.