diff --git a/src/Refitter.Core/Refitter.Core.csproj b/src/Refitter.Core/Refitter.Core.csproj index 2cd7228cf..8f9b3512e 100644 --- a/src/Refitter.Core/Refitter.Core.csproj +++ b/src/Refitter.Core/Refitter.Core.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj b/src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj index 7f4ab9fd3..62d094862 100644 --- a/src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj +++ b/src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj @@ -11,16 +11,16 @@ - + - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + @@ -41,10 +41,7 @@ - + diff --git a/src/Refitter.Tests/Refitter.Tests.csproj b/src/Refitter.Tests/Refitter.Tests.csproj index 8fc96801a..5339f7a97 100644 --- a/src/Refitter.Tests/Refitter.Tests.csproj +++ b/src/Refitter.Tests/Refitter.Tests.csproj @@ -21,10 +21,10 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Refitter.Tests/SchemaCleanerTests.cs b/src/Refitter.Tests/SchemaCleanerTests.cs index 724ad52c9..aaf201b2c 100644 --- a/src/Refitter.Tests/SchemaCleanerTests.cs +++ b/src/Refitter.Tests/SchemaCleanerTests.cs @@ -21,7 +21,7 @@ public async Task RemoveUnreferencedSchema_Removes_Unused_Schemas(SampleOpenSpec var cleaner = new SchemaCleaner(document, []); cleaner.RemoveUnreferencedSchema(); - document.Components.Schemas.Count.Should().BeLessOrEqualTo(initialCount); + document.Components.Schemas.Count.Should().BeLessThanOrEqualTo(initialCount); } [Test] diff --git a/src/Refitter.Tests/SwaggerPetstoreMultipleFileTests.cs b/src/Refitter.Tests/SwaggerPetstoreMultipleFileTests.cs index c03734ccb..865b19321 100644 --- a/src/Refitter.Tests/SwaggerPetstoreMultipleFileTests.cs +++ b/src/Refitter.Tests/SwaggerPetstoreMultipleFileTests.cs @@ -2,7 +2,6 @@ using Refitter.Core; using Refitter.Tests.Build; using Refitter.Tests.Resources; -using TUnit.Core; namespace Refitter.Tests; @@ -21,7 +20,7 @@ await GenerateCode( assert: generatorOutput => { generatorOutput.Files.Should().NotBeNullOrEmpty(); - generatorOutput.Files.Should().HaveCountGreaterOrEqualTo(2); + generatorOutput.Files.Should().HaveCountGreaterThanOrEqualTo(2); foreach ((_, string content) in generatorOutput.Files) { content.Should().NotBeNullOrWhiteSpace(); @@ -43,7 +42,7 @@ await GenerateCode( generatorOutput => { generatorOutput.Files.Should().NotBeNullOrEmpty(); - generatorOutput.Files.Should().HaveCountGreaterOrEqualTo(3); + generatorOutput.Files.Should().HaveCountGreaterThanOrEqualTo(3); foreach ((_, string content) in generatorOutput.Files) { content.Should().NotBeNullOrWhiteSpace(); @@ -65,7 +64,7 @@ await GenerateCode( generatorOutput => { generatorOutput.Files.Should().NotBeNullOrEmpty(); - generatorOutput.Files.Should().HaveCountGreaterOrEqualTo(3); + generatorOutput.Files.Should().HaveCountGreaterThanOrEqualTo(3); foreach ((_, string content) in generatorOutput.Files) { content.Should().NotBeNullOrWhiteSpace(); diff --git a/src/Refitter/Refitter.csproj b/src/Refitter/Refitter.csproj index afaa9d80d..ca3d11e8c 100644 --- a/src/Refitter/Refitter.csproj +++ b/src/Refitter/Refitter.csproj @@ -22,8 +22,8 @@ - - + +