Explorar o código

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
Ian Lance Taylor %!s(int64=11) %!d(string=hai) anos
pai
achega
cb7a96fa34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sha3/sha3_test.go

+ 1 - 1
sha3/sha3_test.go

@@ -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...)