travis: +go 1.8.x -go 1.6.x (#94)

This commit is contained in:
David Hill 2017-04-19 10:14:49 -04:00 committed by GitHub
parent 86346b5a95
commit a5ecb5d954
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
language: go
go:
- 1.6.x
- 1.7.x
- 1.8.x
sudo: false
install:
- go get -d -t -v ./...

View file

@ -39,7 +39,7 @@ func Decode(b string) []byte {
}
}
flen := numZeros + len(tmpval)
val := make([]byte, flen, flen)
val := make([]byte, flen)
copy(val[numZeros:], tmpval)
return val