diff options
Diffstat (limited to 'src/pkg/gob/codec_test.go')
-rw-r--r-- | src/pkg/gob/codec_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/gob/codec_test.go b/src/pkg/gob/codec_test.go index a5fb91cda..2bcbf82a3 100644 --- a/src/pkg/gob/codec_test.go +++ b/src/pkg/gob/codec_test.go @@ -544,7 +544,7 @@ func TestScalarDecInstructions(t *testing.T) { var data struct { a []byte } - instr := &decInstr{decUint8Array, 6, 0, 0, ovfl} + instr := &decInstr{decUint8Slice, 6, 0, 0, ovfl} state := newDecodeStateFromData(bytesResult) execDec("bytes", instr, state, t, unsafe.Pointer(&data)) if string(data.a) != "hello" { |