From 1011b0952a55c0102cd81ba95d46b8eaeea4bcf5 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 6 Aug 2015 16:13:21 +0200 Subject: Test exported functions --- ber/int_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ber/int_test.go') diff --git a/ber/int_test.go b/ber/int_test.go index c7f4ee2..ba1e5b0 100644 --- a/ber/int_test.go +++ b/ber/int_test.go @@ -6,7 +6,7 @@ import ( ) type intTest struct { - in int64 + in int out []byte } @@ -24,11 +24,11 @@ var intTestData = []intTest{ func TestInt(t *testing.T) { for _, test := range intTestData { - a := marshalInt(test.in) + a := MarshalInt(test.in) if !bytes.Equal(a, test.out) { t.Error(test.in, "expected", test.out, "got", a) } - n := unmarshalInt(test.out) + n := UnmarshalInt(test.out) if n != test.in { t.Error(test.out, "expected", test.in, "got", n) } -- cgit v1.2.3