From 21f19b1ce9d687b6e1f5942e32ddff3c6e270f9c Mon Sep 17 00:00:00 2001 From: Denis Ivanov Date: Tue, 29 Sep 2026 00:58:12 +0300 Subject: [PATCH] Release v2.0.7 --- .../AngleSharp.XPath.Tests.csproj | 8 ++++---- .../HtmlDocumentNavigatorTests.cs | 16 ---------------- src/AngleSharp.XPath/AngleSharp.XPath.csproj | 10 +++++----- 3 files changed, 9 insertions(+), 25 deletions(-) diff --git a/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj b/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj index 680b822..38f321b 100644 --- a/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj +++ b/src/AngleSharp.XPath.Tests/AngleSharp.XPath.Tests.csproj @@ -4,10 +4,10 @@ false - - - - + + + + diff --git a/src/AngleSharp.XPath.Tests/HtmlDocumentNavigatorTests.cs b/src/AngleSharp.XPath.Tests/HtmlDocumentNavigatorTests.cs index 1e8bf06..41e7d58 100644 --- a/src/AngleSharp.XPath.Tests/HtmlDocumentNavigatorTests.cs +++ b/src/AngleSharp.XPath.Tests/HtmlDocumentNavigatorTests.cs @@ -2,7 +2,6 @@ using AngleSharp.Html.Parser; using AngleSharp.Xml.Parser; using NUnit.Framework; -using System.Threading.Tasks; using System.Xml; using System.Xml.XPath; using Shouldly; @@ -12,21 +11,6 @@ namespace AngleSharp.XPath.Tests; [TestFixture] internal sealed class HtmlDocumentNavigatorTests { - [Test, Retry(5)] - public async Task SelectSingleNodeTest() - { - // Arrange - const string address = "https://stackoverflow.com/questions/39471800/is-anglesharps-htmlparser-threadsafe"; - var config = Configuration.Default.WithDefaultLoader(); - var document = await BrowsingContext.New(config).OpenAsync(address); - - // Act - var content = document.DocumentElement.SelectSingleNode("//div[@id='content']"); - - // Assert - content.ShouldNotBeNull(); - } - [Test] public void SelectNodes_SelectList_ShouldReturnList() { diff --git a/src/AngleSharp.XPath/AngleSharp.XPath.csproj b/src/AngleSharp.XPath/AngleSharp.XPath.csproj index f7ce89c..40098db 100644 --- a/src/AngleSharp.XPath/AngleSharp.XPath.csproj +++ b/src/AngleSharp.XPath/AngleSharp.XPath.csproj @@ -1,8 +1,8 @@  - 2.0.6 - 2.0.6 - 2.0.6 + 2.0.7 + 2.0.7 + 2.0.7 Denis Ivanov AngleSharp.XPath AngleSharp.XPath @@ -16,13 +16,13 @@ Key.snk true True - logo.png + logo.png README.md 10.0 - +