aboutsummaryrefslogtreecommitdiff
path: root/ber/int_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ber/int_test.go')
-rw-r--r--ber/int_test.go6
1 files changed, 3 insertions, 3 deletions
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)
}