diff --git a/src/libraries/System.DirectoryServices.Protocols/tests/BerConverterTests.cs b/src/libraries/System.DirectoryServices.Protocols/tests/BerConverterTests.cs index cb6117cbf9361a..541d402d61f4b5 100644 --- a/src/libraries/System.DirectoryServices.Protocols/tests/BerConverterTests.cs +++ b/src/libraries/System.DirectoryServices.Protocols/tests/BerConverterTests.cs @@ -159,7 +159,7 @@ public static IEnumerable Decode_TestData() // Content: sequence containing three octet strings // Parsed as two sequences of octet strings - yield return new object[] { "vv", new byte[] { 48, 132, 0, 0, 0, 9, 4, 3, 97, 98, 99, 4, 0, 4, 0 }, new object[] { new string[] { "abc", "" }, null } }; + yield return new object[] { "vv", new byte[] { 48, 132, 0, 0, 0, 12, 4, 3, 97, 98, 99, 4, 2, 100, 101, 4, 1, 102 }, new object[] { new string[] { "abc", "de", "f" }, null } }; // Content: sequence containing two sequences of octet strings // Parsed as such @@ -179,7 +179,7 @@ public static IEnumerable Decode_TestData() // Content: sequence of octet strings // Parsed as two sequences of octet strings (returned as bytes) - yield return new object[] { "VV", new byte[] { 48, 132, 0, 0, 0, 9, 4, 3, 97, 98, 99, 4, 0, 4, 0 }, new object[] { new byte[][] { [97, 98, 99], [] }, null } }; + yield return new object[] { "VV", new byte[] { 48, 132, 0, 0, 0, 12, 4, 3, 97, 98, 99, 4, 2, 100, 101, 4, 1, 102 },new object[]{ new byte[][] { [97, 98, 99], [100, 101], [102] }, null } }; // Content: sequence containing two booleans // Parsed as a sequence containing two sequences of octet strings (returned as bytes) @@ -191,7 +191,6 @@ public static IEnumerable Decode_TestData() } } - [ActiveIssue("https://github.com/dotnet/runtime/issues/99725")] [Theory] [MemberData(nameof(Decode_TestData))] public void Decode_Bytes_ReturnsExpected(string format, byte[] values, object[] expected)