@@ -159,7 +159,7 @@ public static IEnumerable<object[]> Decode_TestData()
159
159
160
160
// Content: sequence containing three octet strings
161
161
// Parsed as two sequences of octet strings
162
- 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 } } ;
162
+ 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 } } ;
163
163
164
164
// Content: sequence containing two sequences of octet strings
165
165
// Parsed as such
@@ -179,7 +179,7 @@ public static IEnumerable<object[]> Decode_TestData()
179
179
180
180
// Content: sequence of octet strings
181
181
// Parsed as two sequences of octet strings (returned as bytes)
182
- 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 } } ;
182
+ 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 } } ;
183
183
184
184
// Content: sequence containing two booleans
185
185
// Parsed as a sequence containing two sequences of octet strings (returned as bytes)
@@ -191,7 +191,6 @@ public static IEnumerable<object[]> Decode_TestData()
191
191
}
192
192
}
193
193
194
- [ ActiveIssue ( "https://github.com/dotnet/runtime/issues/99725" ) ]
195
194
[ Theory ]
196
195
[ MemberData ( nameof ( Decode_TestData ) ) ]
197
196
public void Decode_Bytes_ReturnsExpected ( string format , byte [ ] values , object [ ] expected )
0 commit comments