diff options
author | Russ Cox <rsc@golang.org> | 2010-02-25 16:43:43 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-02-25 16:43:43 -0800 |
commit | 5573ba3e9446ac831263a70ef2c213c0cb2ed191 (patch) | |
tree | 7a6dbedcd1b12f72c2ea54b2c69c3b684ca945df /src/pkg/asn1 | |
parent | af6c4633cbd51c9b7794a160d420c536957b503b (diff) | |
download | golang-5573ba3e9446ac831263a70ef2c213c0cb2ed191.tar.gz |
use []byte("abc") in place of []byte{'a', 'b', 'c'}
R=gri
CC=golang-dev
http://codereview.appspot.com/223059
Diffstat (limited to 'src/pkg/asn1')
-rw-r--r-- | src/pkg/asn1/asn1_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/asn1/asn1_test.go b/src/pkg/asn1/asn1_test.go index bb380ca0b..f488663ba 100644 --- a/src/pkg/asn1/asn1_test.go +++ b/src/pkg/asn1/asn1_test.go @@ -276,7 +276,7 @@ var unmarshalTestData []unmarshalTest = []unmarshalTest{ unmarshalTest{[]byte{0x02, 0x01, 0x10}, newInt(16)}, unmarshalTest{[]byte{0x13, 0x04, 't', 'e', 's', 't'}, newString("test")}, unmarshalTest{[]byte{0x16, 0x04, 't', 'e', 's', 't'}, newString("test")}, - unmarshalTest{[]byte{0x16, 0x04, 't', 'e', 's', 't'}, &RawValue{0, 22, false, []byte{'t', 'e', 's', 't'}}}, + unmarshalTest{[]byte{0x16, 0x04, 't', 'e', 's', 't'}, &RawValue{0, 22, false, []byte("test")}}, unmarshalTest{[]byte{0x04, 0x04, 1, 2, 3, 4}, &RawValue{0, 4, false, []byte{1, 2, 3, 4}}}, unmarshalTest{[]byte{0x30, 0x03, 0x81, 0x01, 0x01}, &TestContextSpecificTags{1}}, unmarshalTest{[]byte{0x30, 0x08, 0xa1, 0x03, 0x02, 0x01, 0x01, 0x02, 0x01, 0x02}, &TestContextSpecificTags2{1, 2}}, |