Skip to content

Commit

Permalink
Update src/Tomlyn.Tests/AssertHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx authored Feb 1, 2024
1 parent 026f953 commit a080205
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Tomlyn.Tests/AssertHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ public static string NormalizeEndOfLine(string text)
return text.Replace("\r\n", "\n");
}

#if NET5_0_OR_GREATER
#else
#if !NET5_0_OR_GREATER
public static string ReplaceLineEndings(this string text, string? newLine = null)
{
newLine ??= Environment.NewLine;
Expand Down

0 comments on commit a080205

Please sign in to comment.