From 7f91a39d3d520d99f988d7060237550f11b6ab18 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 27 Oct 2011 19:38:57 -0700 Subject: [PATCH] encoding/binary: fix type in test Was working only accidentally. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5303082 --- src/pkg/encoding/binary/binary_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/encoding/binary/binary_test.go b/src/pkg/encoding/binary/binary_test.go index b266996f635..73def50ee9e 100644 --- a/src/pkg/encoding/binary/binary_test.go +++ b/src/pkg/encoding/binary/binary_test.go @@ -99,7 +99,7 @@ var little = []byte{ var src = []byte{1, 2, 3, 4, 5, 6, 7, 8} var res = []int32{0x01020304, 0x05060708} -func checkResult(t *testing.T, dir string, order, err os.Error, have, want interface{}) { +func checkResult(t *testing.T, dir string, order ByteOrder, err os.Error, have, want interface{}) { if err != nil { t.Errorf("%v %v: %v", dir, order, err) return