aboutsummaryrefslogtreecommitdiff
path: root/ber
diff options
context:
space:
mode:
Diffstat (limited to 'ber')
-rw-r--r--ber/ber_test.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/ber/ber_test.go b/ber/ber_test.go
index 74e64cd..94edbb0 100644
--- a/ber/ber_test.go
+++ b/ber/ber_test.go
@@ -196,11 +196,14 @@ func TestLen(t *testing.T) {
}
var classTestData = map[Header][]byte{
- {classUniversal, kindPrimitive, tagInteger}: {0x02},
- {classApplication, kindConstructed, 2}: {0x62},
- {classContextSpecific, kindConstructed, 1}: {0xa1},
- {classPrivate, kindPrimitive, 32}: {0xdf, 0x20},
- {classPrivate, kindConstructed, 256}: {0xff, 0x82, 0x00},
+ {classUniversal, kindPrimitive, tagInteger}: {0x02},
+ {classUniversal, kindConstructed, tagSequence}: {0x30},
+ {classApplication, kindPrimitive, 2}: {0x42},
+ {classApplication, kindConstructed, 2}: {0x62},
+ {classContextSpecific, kindPrimitive, 1}: {0x81},
+ {classContextSpecific, kindConstructed, 1}: {0xa1},
+ {classPrivate, kindPrimitive, 32}: {0xdf, 0x20},
+ {classPrivate, kindConstructed, 256}: {0xff, 0x82, 0x00},
}
func TestClass(t *testing.T) {