Skip to content

Commit

Permalink
Update keystore_test.go
Browse files Browse the repository at this point in the history
Changed comments to use conventional formatting
  • Loading branch information
realMartinez authored Mar 23, 2023
1 parent 3b10b3e commit b50c21c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/util/jvm/keystore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ import (

func TestGenerateKeystore(t *testing.T) {

//No Data
// No Data
var data [][]byte
ctx := context.Background()
err := GenerateKeystore(ctx, "", "name", NewKeystorePassword(), data)
assert.Nil(t, err)

//Correct input
// Correct input
data = [][]byte{{0}, {1}}
err = GenerateKeystore(ctx, "", "name", NewKeystorePassword(), data)
assert.NotNil(t, err)

//Incorrect input format
// Incorrect input format
err = GenerateKeystore(ctx, "", "name", "", data)
assert.NotNil(t, err)
}

0 comments on commit b50c21c

Please sign in to comment.