From cb7a96fa34f94f61171c4bdce01baf2411356574 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 13 Oct 2014 14:14:22 -0700 Subject: [PATCH] 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 --- sha3/sha3_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha3/sha3_test.go b/sha3/sha3_test.go index bdc3695..6f84863 100644 --- a/sha3/sha3_test.go +++ b/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...)