From 8301f641a06391c45b91b9c52fcd4b7ebe30c437 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 6 Oct 2015 21:05:56 +0200 Subject: Hex --- ber/ber_test.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ber/ber_test.go b/ber/ber_test.go index 690a8d5..c1beb32 100644 --- a/ber/ber_test.go +++ b/ber/ber_test.go @@ -26,16 +26,16 @@ func TestBool(t *testing.T) { } var intTestData = map[int][]byte{ - 0: {0x01, 0x00}, - 127: {0x01, 0x7f}, - 128: {0x02, 0x00, 0x80}, - 256: {0x02, 0x01, 0x00}, - -128: {0x01, 0x80}, - -129: {0x02, 0xff, 0x7f}, - 8388607: {0x03, 0x7f, 0xff, 0xff}, - -8388607: {0x03, 0x80, 0x00, 0x01}, - -136: {0x02, 0xff, 0x78}, - 19988489: {0x04, 0x01, 0x31, 0x00, 0x09}, + 0: {0x01, 0x00}, + 127: {0x01, 0x7f}, + 128: {0x02, 0x00, 0x80}, + 256: {0x02, 0x01, 0x00}, + -128: {0x01, 0x80}, + -129: {0x02, 0xff, 0x7f}, + 8388607: {0x03, 0x7f, 0xff, 0xff}, + -8388607: {0x03, 0x80, 0x00, 0x01}, + -136: {0x02, 0xff, 0x78}, + 0x1310009: {0x04, 0x01, 0x31, 0x00, 0x09}, } func TestInt(t *testing.T) { -- cgit v1.2.3