From d6015db1804833b06219ce525c12f0d800d1aca5 Mon Sep 17 00:00:00 2001 From: Colin Wilmans Date: Tue, 16 Apr 2024 11:55:38 +0200 Subject: [PATCH] fixing formatting errors --- .../TestNuget/RemoveThisOnNextVersionAttribute.cs | 2 +- AutomaticInterface/Tests/GeneratorTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]