From dc9820adf986a2dacce8c179e060c43a1653f6c6 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 25 Sep 2015 21:08:06 +0200 Subject: zzz --- ber/new/ber_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ber/new/ber_test.go') diff --git a/ber/new/ber_test.go b/ber/new/ber_test.go index 47974c5..04d01e6 100644 --- a/ber/new/ber_test.go +++ b/ber/new/ber_test.go @@ -12,7 +12,7 @@ var boolTestData = map[bool][]byte{ func TestBool(t *testing.T) { for val, out := range boolTestData { - s := &state{} + s := state{} s.marshalBool(val) o := s.Bytes() if !bytes.Equal(o, out) { @@ -39,7 +39,7 @@ var intTestData = map[int][]byte{ func TestInt(t *testing.T) { for val, out := range intTestData { - s := &state{} + s := state{} s.marshalInt(val) o := s.Bytes() if !bytes.Equal(o, out) { @@ -59,7 +59,7 @@ var stringTestData = map[string][]byte{ func TestString(t *testing.T) { for val, out := range stringTestData { - s := &state{} + s := state{} s.marshalString(val) o := s.Bytes() if !bytes.Equal(o, out) { @@ -110,7 +110,7 @@ var oidTestData = []oidTest{ func TestOID(t *testing.T) { for _, test := range oidTestData { - s := &state{} + s := state{} s.marshalOID(test.val) o := s.Bytes() if !bytes.Equal(o, test.out) { @@ -150,7 +150,7 @@ var bitStringTestData = []bitStringTest{ func TestBitString(t *testing.T) { for _, test := range bitStringTestData { - s := &state{} + s := state{} s.marshalBitString(test.val) o := s.Bytes() if !bytes.Equal(o, test.out) { -- cgit v1.2.3