Skip to content

Commit c7965bb

Browse files
CopilotT-Gro
andcommitted
Fix Assert.NotEqual overload ambiguity by adding type annotations
Co-authored-by: T-Gro <[email protected]>
1 parent b1331ac commit c7965bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vsintegration/tests/FSharp.Editor.Tests/SemanticClassificationServiceTests.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,5 +272,5 @@ type TestType() =
272272
FSharpClassificationTypes.getClassificationTypeName firstOptional.Type
273273

274274
// Should NOT be classified as a type or namespace
275-
Assert.NotEqual(ClassificationTypeNames.ClassName, classificationType)
276-
Assert.NotEqual(ClassificationTypeNames.NamespaceName, classificationType)
275+
Assert.NotEqual<string>(ClassificationTypeNames.ClassName, classificationType)
276+
Assert.NotEqual<string>(ClassificationTypeNames.NamespaceName, classificationType)

0 commit comments

Comments
 (0)