From 711d20bf727ec7862a6367bb6bd00720ccb729c1 Mon Sep 17 00:00:00 2001 From: "Valeriano A.R." Date: Sat, 16 Nov 2024 22:19:05 +0100 Subject: [PATCH] Remove unused nuget JetBrains.Annotations --- CsvLib.Tests/ByteArraySearcherTests.cs | 3 +-- CsvLib.Tests/CsvFieldIndexerTests.cs | 1 - CsvLib.Tests/CsvLib.Tests.csproj | 1 - CsvLib.Tests/CsvParserTest.cs | 1 - CsvLib.Tests/Usings.cs | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/CsvLib.Tests/ByteArraySearcherTests.cs b/CsvLib.Tests/ByteArraySearcherTests.cs index 6ed58fa..0eea1ed 100644 --- a/CsvLib.Tests/ByteArraySearcherTests.cs +++ b/CsvLib.Tests/ByteArraySearcherTests.cs @@ -1,7 +1,6 @@ namespace CvsLib.Tests; -[TestSubject(typeof(ByteArraySearcher))] public class ByteArraySearcherTests { [Fact] @@ -9,7 +8,7 @@ public class ByteArraySearcherTests { // --- Arrange byte[] haystack = [1, 2, 3, 4, 5,]; - byte[] needle = Array.Empty(); + byte[] needle = []; ByteArraySearcher searcher = new(needle); // --- Act diff --git a/CsvLib.Tests/CsvFieldIndexerTests.cs b/CsvLib.Tests/CsvFieldIndexerTests.cs index f55edcc..ae84539 100644 --- a/CsvLib.Tests/CsvFieldIndexerTests.cs +++ b/CsvLib.Tests/CsvFieldIndexerTests.cs @@ -2,7 +2,6 @@ using System.Text; namespace CvsLib.Tests; -[TestSubject(typeof(CsvFieldIndexer))] public class CsvFieldIndexerTests { #region GenerateIndex diff --git a/CsvLib.Tests/CsvLib.Tests.csproj b/CsvLib.Tests/CsvLib.Tests.csproj index d8038ae..12ab80d 100644 --- a/CsvLib.Tests/CsvLib.Tests.csproj +++ b/CsvLib.Tests/CsvLib.Tests.csproj @@ -10,7 +10,6 @@ - diff --git a/CsvLib.Tests/CsvParserTest.cs b/CsvLib.Tests/CsvParserTest.cs index 16fff83..b63358b 100644 --- a/CsvLib.Tests/CsvParserTest.cs +++ b/CsvLib.Tests/CsvParserTest.cs @@ -1,7 +1,6 @@ namespace CvsLib.Tests; -[TestSubject(typeof(CsvParser))] public class CsvParserTest { #region Parse diff --git a/CsvLib.Tests/Usings.cs b/CsvLib.Tests/Usings.cs index 5b99ace..7df6756 100644 --- a/CsvLib.Tests/Usings.cs +++ b/CsvLib.Tests/Usings.cs @@ -1,3 +1,2 @@ global using Xunit; -global using JetBrains.Annotations; global using CsvLib; \ No newline at end of file