Skip to content

Commit 749e786

Browse files
committed
Change visibility
1 parent ca1ac4e commit 749e786

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rolling-shutter/cmd/cryptocmd/jsontests.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func GenerateTestdata() *cobra.Command {
4444
vtCounter: 1,
4545
}
4646
enc.start()
47-
CreateJSONTests(*enc)
47+
createJSONTests(*enc)
4848

4949
enc.flush()
5050
return nil
@@ -61,7 +61,7 @@ func RunJSONTests() *cobra.Command {
6161
Short: "Use testdata in json format to test crypto implementations",
6262
Args: cobra.ExactArgs(0),
6363
RunE: func(cmd *cobra.Command, args []string) error {
64-
errs := ReadTestcases(filename)
64+
errs := readTestcases(filename)
6565

6666
return errs[0]
6767
},
@@ -201,7 +201,7 @@ type verificationTest struct {
201201
Expected bool `json:"expected"`
202202
}
203203

204-
func ReadTestcases(filename string) []error {
204+
func readTestcases(filename string) []error {
205205
var testcases []*testCase
206206

207207
f, err := os.OpenFile(filename, os.O_RDONLY, 0o600)
@@ -314,7 +314,7 @@ var testSpecs = []struct {
314314
},
315315
}
316316

317-
func CreateJSONTests(enc testEncoder) {
317+
func createJSONTests(enc testEncoder) {
318318
keygen := testkeygen.NewKeyGenerator(12, 10)
319319
var err error
320320
for i := range testSpecs {

0 commit comments

Comments
 (0)