File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
rolling-shutter/cmd/cryptocmd Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func GenerateTestdata() *cobra.Command {
44
44
vtCounter : 1 ,
45
45
}
46
46
enc .start ()
47
- CreateJSONTests (* enc )
47
+ createJSONTests (* enc )
48
48
49
49
enc .flush ()
50
50
return nil
@@ -61,7 +61,7 @@ func RunJSONTests() *cobra.Command {
61
61
Short : "Use testdata in json format to test crypto implementations" ,
62
62
Args : cobra .ExactArgs (0 ),
63
63
RunE : func (cmd * cobra.Command , args []string ) error {
64
- errs := ReadTestcases (filename )
64
+ errs := readTestcases (filename )
65
65
66
66
return errs [0 ]
67
67
},
@@ -201,7 +201,7 @@ type verificationTest struct {
201
201
Expected bool `json:"expected"`
202
202
}
203
203
204
- func ReadTestcases (filename string ) []error {
204
+ func readTestcases (filename string ) []error {
205
205
var testcases []* testCase
206
206
207
207
f , err := os .OpenFile (filename , os .O_RDONLY , 0o600 )
@@ -314,7 +314,7 @@ var testSpecs = []struct {
314
314
},
315
315
}
316
316
317
- func CreateJSONTests (enc testEncoder ) {
317
+ func createJSONTests (enc testEncoder ) {
318
318
keygen := testkeygen .NewKeyGenerator (12 , 10 )
319
319
var err error
320
320
for i := range testSpecs {
You can’t perform that action at this time.
0 commit comments