From f3d95314810c6a6039653d132581656eee36264b Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Tue, 13 May 2025 16:18:31 -0700 Subject: [PATCH] Suppress FS3261 error --- tests/authoring/Framework/HtmlAssertions.fs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/authoring/Framework/HtmlAssertions.fs b/tests/authoring/Framework/HtmlAssertions.fs index cad73f592..3105e784f 100644 --- a/tests/authoring/Framework/HtmlAssertions.fs +++ b/tests/authoring/Framework/HtmlAssertions.fs @@ -9,15 +9,13 @@ open System.Diagnostics open System.IO open AngleSharp.Diffing open AngleSharp.Diffing.Core -open AngleSharp.Dom open AngleSharp.Html open AngleSharp.Html.Parser -open DiffPlex.DiffBuilder -open DiffPlex.DiffBuilder.Model open JetBrains.Annotations -open Swensen.Unquote open Xunit.Sdk +#nowarn 3261 // TODO: Remove this and fix it. Adding this to unblock the code for now. + [] module HtmlAssertions = @@ -90,7 +88,7 @@ actual: {actual} match querySelector with | Some q -> document.QuerySelector q | None -> document.Body - + let links = element.QuerySelectorAll("a") links |> Seq.iter(fun l ->