mirror of
https://github.com/golang/go
synced 2024-11-21 19:34:46 -07:00
encoding/binary: fix type in test
Was working only accidentally. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5303082
This commit is contained in:
parent
6715551768
commit
7f91a39d3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user