sha3: change range statement in test to work with Go 1.3 and earlier

LGTM=bradfitz
R=agl, bradfitz
CC=golang-codereviews
https://golang.org/cl/157930043
This commit is contained in:
Ian Lance Taylor
2014-10-13 14:14:22 -07:00
parent 9b55b542f6
commit cb7a96fa34
+1 -1
View File
@@ -183,7 +183,7 @@ func TestSqueezing(t *testing.T) {
d1 := newShakeHash()
d1.Write([]byte(testString))
var multiple []byte
for range ref {
for _ = range ref {
one := make([]byte, 1)
d1.Read(one)
multiple = append(multiple, one...)