From 39dc5d13c34242b3ab8b69fbb33a4250e4944805 Mon Sep 17 00:00:00 2001 From: Henrik Lau Eriksson Date: Sat, 22 Jun 2024 21:57:53 +0200 Subject: [PATCH] :wrench: --- Directory.Build.props | 1 + src/GEmojiSharp.AspNetCore/EmojiExtensions.cs | 1 - .../HtmlHelpers/HtmlHelperExtensions.cs | 1 - .../TagHelpers/BodyTagHelperComponent.cs | 2 -- .../TagHelpers/EmojiAttributeTagHelper.cs | 1 - src/GEmojiSharp.AspNetCore/TagHelpers/EmojiTagHelper.cs | 2 -- src/GEmojiSharp.Blazor/EmojiExtensions.cs | 1 - src/GEmojiSharp/Emoji.cs | 3 --- src/GEmojiSharp/EmojiExtensions.cs | 3 --- tests/GEmojiSharp.Tests/AspNetCore/EmojiExtensionsTests.cs | 1 - .../AspNetCore/HtmlHelpers/EmojiExtensionsTests.cs | 1 - .../AspNetCore/TagHelpers/BodyTagHelperComponentTests.cs | 2 -- .../AspNetCore/TagHelpers/EmojiAttributeTagHelperTests.cs | 2 -- .../AspNetCore/TagHelpers/EmojiTagHelperTests.cs | 2 -- tests/GEmojiSharp.Tests/Blazor/EmojiExtensionsTests.cs | 1 - tests/GEmojiSharp.Tests/Documentation.cs | 2 -- tests/GEmojiSharp.Tests/DotnetTool/IntegrationTests.cs | 1 - tests/GEmojiSharp.Tests/EmojiExtensionsTests.cs | 2 -- tests/GEmojiSharp.Tests/EmojiTests.cs | 2 -- tests/GEmojiSharp.Tests/GEmojiSharp.Tests.csproj | 1 - tests/GEmojiSharp.Tests/GEmojiTests.cs | 1 - tests/GEmojiSharp.Tests/GenerateTests.cs | 7 ------- 22 files changed, 1 insertion(+), 39 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 801b81e..47228a9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,6 +2,7 @@ preview + enable enable true true diff --git a/src/GEmojiSharp.AspNetCore/EmojiExtensions.cs b/src/GEmojiSharp.AspNetCore/EmojiExtensions.cs index 470e011..ab00508 100644 --- a/src/GEmojiSharp.AspNetCore/EmojiExtensions.cs +++ b/src/GEmojiSharp.AspNetCore/EmojiExtensions.cs @@ -1,4 +1,3 @@ -using System; using System.Text.RegularExpressions; namespace GEmojiSharp.AspNetCore diff --git a/src/GEmojiSharp.AspNetCore/HtmlHelpers/HtmlHelperExtensions.cs b/src/GEmojiSharp.AspNetCore/HtmlHelpers/HtmlHelperExtensions.cs index 9f26da5..3ee761e 100644 --- a/src/GEmojiSharp.AspNetCore/HtmlHelpers/HtmlHelperExtensions.cs +++ b/src/GEmojiSharp.AspNetCore/HtmlHelpers/HtmlHelperExtensions.cs @@ -1,4 +1,3 @@ -using System; using System.Linq.Expressions; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/GEmojiSharp.AspNetCore/TagHelpers/BodyTagHelperComponent.cs b/src/GEmojiSharp.AspNetCore/TagHelpers/BodyTagHelperComponent.cs index f483c6b..923531e 100644 --- a/src/GEmojiSharp.AspNetCore/TagHelpers/BodyTagHelperComponent.cs +++ b/src/GEmojiSharp.AspNetCore/TagHelpers/BodyTagHelperComponent.cs @@ -1,5 +1,3 @@ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; namespace GEmojiSharp.AspNetCore diff --git a/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiAttributeTagHelper.cs b/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiAttributeTagHelper.cs index ba390c5..393be31 100644 --- a/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiAttributeTagHelper.cs +++ b/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiAttributeTagHelper.cs @@ -1,4 +1,3 @@ -using System; using Microsoft.AspNetCore.Razor.TagHelpers; namespace GEmojiSharp.AspNetCore diff --git a/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiTagHelper.cs b/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiTagHelper.cs index 4522961..224549e 100644 --- a/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiTagHelper.cs +++ b/src/GEmojiSharp.AspNetCore/TagHelpers/EmojiTagHelper.cs @@ -1,5 +1,3 @@ -using System; -using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; namespace GEmojiSharp.AspNetCore diff --git a/src/GEmojiSharp.Blazor/EmojiExtensions.cs b/src/GEmojiSharp.Blazor/EmojiExtensions.cs index 2f1e291..f642bb9 100644 --- a/src/GEmojiSharp.Blazor/EmojiExtensions.cs +++ b/src/GEmojiSharp.Blazor/EmojiExtensions.cs @@ -1,4 +1,3 @@ -using System; using System.Text.RegularExpressions; namespace GEmojiSharp.Blazor diff --git a/src/GEmojiSharp/Emoji.cs b/src/GEmojiSharp/Emoji.cs index dc28352..bc699b3 100644 --- a/src/GEmojiSharp/Emoji.cs +++ b/src/GEmojiSharp/Emoji.cs @@ -1,6 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; using System.Text.RegularExpressions; namespace GEmojiSharp diff --git a/src/GEmojiSharp/EmojiExtensions.cs b/src/GEmojiSharp/EmojiExtensions.cs index 6a36eef..4d4f5f7 100644 --- a/src/GEmojiSharp/EmojiExtensions.cs +++ b/src/GEmojiSharp/EmojiExtensions.cs @@ -1,6 +1,3 @@ -using System.Collections.Generic; -using System.Linq; - namespace GEmojiSharp { /// diff --git a/tests/GEmojiSharp.Tests/AspNetCore/EmojiExtensionsTests.cs b/tests/GEmojiSharp.Tests/AspNetCore/EmojiExtensionsTests.cs index 50467fb..857b2cf 100644 --- a/tests/GEmojiSharp.Tests/AspNetCore/EmojiExtensionsTests.cs +++ b/tests/GEmojiSharp.Tests/AspNetCore/EmojiExtensionsTests.cs @@ -1,6 +1,5 @@ using FluentAssertions; using GEmojiSharp.AspNetCore; -using NUnit.Framework; namespace GEmojiSharp.Tests.AspNetCore { diff --git a/tests/GEmojiSharp.Tests/AspNetCore/HtmlHelpers/EmojiExtensionsTests.cs b/tests/GEmojiSharp.Tests/AspNetCore/HtmlHelpers/EmojiExtensionsTests.cs index d4e1e94..e715614 100644 --- a/tests/GEmojiSharp.Tests/AspNetCore/HtmlHelpers/EmojiExtensionsTests.cs +++ b/tests/GEmojiSharp.Tests/AspNetCore/HtmlHelpers/EmojiExtensionsTests.cs @@ -2,7 +2,6 @@ using GEmojiSharp.AspNetCore; using Microsoft.AspNetCore.Mvc.Rendering; using NSubstitute; -using NUnit.Framework; namespace GEmojiSharp.Tests.AspNetCore.HtmlHelpers { diff --git a/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/BodyTagHelperComponentTests.cs b/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/BodyTagHelperComponentTests.cs index ee58ebe..3b1d7f0 100644 --- a/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/BodyTagHelperComponentTests.cs +++ b/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/BodyTagHelperComponentTests.cs @@ -1,8 +1,6 @@ -using System.Threading.Tasks; using FluentAssertions; using GEmojiSharp.AspNetCore; using Microsoft.AspNetCore.Razor.TagHelpers; -using NUnit.Framework; namespace GEmojiSharp.Tests.AspNetCore.TagHelpers { diff --git a/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiAttributeTagHelperTests.cs b/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiAttributeTagHelperTests.cs index 6b9bda1..446ed08 100644 --- a/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiAttributeTagHelperTests.cs +++ b/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiAttributeTagHelperTests.cs @@ -1,8 +1,6 @@ -using System.Threading.Tasks; using FluentAssertions; using GEmojiSharp.AspNetCore; using Microsoft.AspNetCore.Razor.TagHelpers; -using NUnit.Framework; namespace GEmojiSharp.Tests.AspNetCore.TagHelpers { diff --git a/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiTagHelperTests.cs b/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiTagHelperTests.cs index 3d4ebc1..03055e1 100644 --- a/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiTagHelperTests.cs +++ b/tests/GEmojiSharp.Tests/AspNetCore/TagHelpers/EmojiTagHelperTests.cs @@ -1,8 +1,6 @@ -using System.Threading.Tasks; using FluentAssertions; using GEmojiSharp.AspNetCore; using Microsoft.AspNetCore.Razor.TagHelpers; -using NUnit.Framework; namespace GEmojiSharp.Tests.AspNetCore.TagHelpers { diff --git a/tests/GEmojiSharp.Tests/Blazor/EmojiExtensionsTests.cs b/tests/GEmojiSharp.Tests/Blazor/EmojiExtensionsTests.cs index 5a50d17..d2f5048 100644 --- a/tests/GEmojiSharp.Tests/Blazor/EmojiExtensionsTests.cs +++ b/tests/GEmojiSharp.Tests/Blazor/EmojiExtensionsTests.cs @@ -1,6 +1,5 @@ using FluentAssertions; using GEmojiSharp.Blazor; -using NUnit.Framework; namespace GEmojiSharp.Tests.Blazor { diff --git a/tests/GEmojiSharp.Tests/Documentation.cs b/tests/GEmojiSharp.Tests/Documentation.cs index 710473f..933aab7 100644 --- a/tests/GEmojiSharp.Tests/Documentation.cs +++ b/tests/GEmojiSharp.Tests/Documentation.cs @@ -1,6 +1,4 @@ -using System.Linq; using System.Text.RegularExpressions; -using NUnit.Framework; using static System.Console; namespace GEmojiSharp.Tests diff --git a/tests/GEmojiSharp.Tests/DotnetTool/IntegrationTests.cs b/tests/GEmojiSharp.Tests/DotnetTool/IntegrationTests.cs index 53b7dde..d239be2 100644 --- a/tests/GEmojiSharp.Tests/DotnetTool/IntegrationTests.cs +++ b/tests/GEmojiSharp.Tests/DotnetTool/IntegrationTests.cs @@ -1,7 +1,6 @@ using System.Diagnostics; using System.Text; using FluentAssertions; -using NUnit.Framework; using TextCopy; using static System.Environment; diff --git a/tests/GEmojiSharp.Tests/EmojiExtensionsTests.cs b/tests/GEmojiSharp.Tests/EmojiExtensionsTests.cs index d199107..e24d359 100644 --- a/tests/GEmojiSharp.Tests/EmojiExtensionsTests.cs +++ b/tests/GEmojiSharp.Tests/EmojiExtensionsTests.cs @@ -1,6 +1,4 @@ -using System; using FluentAssertions; -using NUnit.Framework; namespace GEmojiSharp.Tests { diff --git a/tests/GEmojiSharp.Tests/EmojiTests.cs b/tests/GEmojiSharp.Tests/EmojiTests.cs index 027b8f3..ee91d3a 100644 --- a/tests/GEmojiSharp.Tests/EmojiTests.cs +++ b/tests/GEmojiSharp.Tests/EmojiTests.cs @@ -1,6 +1,4 @@ -using System; using FluentAssertions; -using NUnit.Framework; using static GEmojiSharp.Emoji; namespace GEmojiSharp.Tests diff --git a/tests/GEmojiSharp.Tests/GEmojiSharp.Tests.csproj b/tests/GEmojiSharp.Tests/GEmojiSharp.Tests.csproj index 9f13a38..9dccf88 100644 --- a/tests/GEmojiSharp.Tests/GEmojiSharp.Tests.csproj +++ b/tests/GEmojiSharp.Tests/GEmojiSharp.Tests.csproj @@ -2,7 +2,6 @@ net8.0 - enable diff --git a/tests/GEmojiSharp.Tests/GEmojiTests.cs b/tests/GEmojiSharp.Tests/GEmojiTests.cs index 43c8656..d55f4ab 100644 --- a/tests/GEmojiSharp.Tests/GEmojiTests.cs +++ b/tests/GEmojiSharp.Tests/GEmojiTests.cs @@ -1,5 +1,4 @@ using FluentAssertions; -using NUnit.Framework; namespace GEmojiSharp.Tests { diff --git a/tests/GEmojiSharp.Tests/GenerateTests.cs b/tests/GEmojiSharp.Tests/GenerateTests.cs index 92e085c..24e0aed 100644 --- a/tests/GEmojiSharp.Tests/GenerateTests.cs +++ b/tests/GEmojiSharp.Tests/GenerateTests.cs @@ -1,16 +1,9 @@ -using System; -using System.Collections.Generic; using System.Globalization; -using System.IO; -using System.Linq; -using System.Net.Http; using System.Text; using System.Text.RegularExpressions; -using System.Threading.Tasks; using FluentAssertions; using Microsoft.Playwright; using Newtonsoft.Json.Linq; -using NUnit.Framework; namespace GEmojiSharp.Tests {