소스 검색

sha3: move test data to testdata

Change the location of the KAT data for consistency with
other packages.

Change-Id: Ica10ad7d1730603f957fb413e28fe771b3c323bc
Reviewed-on: https://go-review.googlesource.com/3267
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
David Leon Gil 11 년 전
부모
커밋
bfc286917c
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sha3/sha3_test.go
  2. 0 0
      sha3/testdata/keccakKats.json.deflate

+ 1 - 1
sha3/sha3_test.go

@@ -23,7 +23,7 @@ import (
 
 const (
 	testString  = "brekeccakkeccak koax koax"
-	katFilename = "keccakKats.json.deflate"
+	katFilename = "testdata/keccakKats.json.deflate"
 )
 
 // Internal-use instances of SHAKE used to test against KATs.

+ 0 - 0
sha3/keccakKats.json.deflate → sha3/testdata/keccakKats.json.deflate