diff --git a/src/Markdig.Tests/Markdig.Tests.csproj b/src/Markdig.Tests/Markdig.Tests.csproj index 5d33dc8d..1726b8f4 100644 --- a/src/Markdig.Tests/Markdig.Tests.csproj +++ b/src/Markdig.Tests/Markdig.Tests.csproj @@ -1,14 +1,14 @@ - + - net462;net6.0;net8.0;net9.0 + net6.0;net8.0;net9.0 Exe false enable 13.0 Markdig.Tests.Program - $(MSBuildProjectDirectory)\..\SpecFileGen\bin\$(Configuration)\net8.0\SpecFileGen.dll - $(MSBuildProjectDirectory)\..\SpecFileGen\bin\$(Configuration)\net8.0\SpecFileGen.timestamp + $(MSBuildProjectDirectory)\..\SpecFileGen\bin\$(Configuration)\$(TargetFramework)\SpecFileGen.dll + $(MSBuildProjectDirectory)\..\SpecFileGen\bin\$(Configuration)\$(TargetFramework)\SpecFileGen.timestamp @@ -19,14 +19,14 @@ + - - + @@ -38,7 +38,7 @@ - + diff --git a/src/Markdig.Tests/TestContainerBlocks.cs b/src/Markdig.Tests/TestContainerBlocks.cs index c5e0440b..abffe84f 100644 --- a/src/Markdig.Tests/TestContainerBlocks.cs +++ b/src/Markdig.Tests/TestContainerBlocks.cs @@ -172,7 +172,7 @@ public void CopyTo() Assert.NotNull(destination[2]); Assert.Null(destination[3]); - Array.Clear(destination, 0, destination.Length); + Array.Clear(destination); container.Add(new ParagraphBlock()); container.CopyTo(destination, 1); diff --git a/src/Markdig.Tests/TestFastStringWriter.cs b/src/Markdig.Tests/TestFastStringWriter.cs index b5cbf663..e28b0a60 100644 --- a/src/Markdig.Tests/TestFastStringWriter.cs +++ b/src/Markdig.Tests/TestFastStringWriter.cs @@ -1,7 +1,6 @@ using System.Text; -using Markdig.Helpers; -#if NET6_0_OR_GREATER +using Markdig.Helpers; namespace Markdig.Tests; @@ -185,4 +184,3 @@ public async Task Write_StringBuilder() AssertToString("foobar\nbazfoo\nfoo" + new string('a', 1050)); } } -#endif \ No newline at end of file diff --git a/src/SpecFileGen/SpecFileGen.csproj b/src/SpecFileGen/SpecFileGen.csproj index 0ad72b08..0c28b463 100644 --- a/src/SpecFileGen/SpecFileGen.csproj +++ b/src/SpecFileGen/SpecFileGen.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net6.0;net8.0;net9.0 enable false