diff --git a/AutomaticInterface/TestNuget/RemoveThisOnNextVersionAttribute.cs b/AutomaticInterface/TestNuget/RemoveThisOnNextVersionAttribute.cs index 1a28c2c..28c870b 100644 --- a/AutomaticInterface/TestNuget/RemoveThisOnNextVersionAttribute.cs +++ b/AutomaticInterface/TestNuget/RemoveThisOnNextVersionAttribute.cs @@ -11,4 +11,4 @@ internal sealed class GenerateAutomaticInterfaceAttribute : Attribute { internal GenerateAutomaticInterfaceAttribute(string namespaceName = "") { } } -} \ No newline at end of file +} diff --git a/AutomaticInterface/Tests/GeneratorTests.cs b/AutomaticInterface/Tests/GeneratorTests.cs index 7479ae2..046ea2d 100644 --- a/AutomaticInterface/Tests/GeneratorTests.cs +++ b/AutomaticInterface/Tests/GeneratorTests.cs @@ -38,7 +38,7 @@ out var diagnostics diagnostics.Where(d => d.Severity == DiagnosticSeverity.Error).Should().BeEmpty(); - return outputCompilation.SyntaxTrees.Skip(1).LastOrDefault()?.ToString().Replace("\r",""); + return outputCompilation.SyntaxTrees.Skip(1).LastOrDefault()?.ToString(); } [Fact]