Skip to content

Commit 27ddecf

Browse files
Skip UTF7 in tests (#178)
Co-authored-by: Julian Verdurmen <304NotModified@users.noreply.github.com>
1 parent 0c7ddde commit 27ddecf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/DetectionDetailTests.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ public void DetectionDetailGetEncodingIsNotNull(string codepageName)
1919

2020
private static readonly HashSet<string> UnsupportedEncodings = new HashSet<string>
2121
{
22-
#if NET6_0_OR_GREATER
2322
CodepageName.UTF7, // Support dropped in .NET 6
24-
#endif
2523
CodepageName.ISO_8859_10,
2624
CodepageName.ISO_8859_16,
2725
CodepageName.EUC_TW,
@@ -49,4 +47,4 @@ public void GetEncodingShouldHandleIncorrectEncoding()
4947
Assert.AreEqual(null, result);
5048
}
5149
}
52-
}
50+
}

0 commit comments

Comments
 (0)