Skip to content

Commit

Permalink
cli/command/trust/sign_test.go:119:70: unnecessary conversion (unconv…
Browse files Browse the repository at this point in the history
…ert)

Signed-off-by: Silvin Lubecki <[email protected]>
  • Loading branch information
silvin-lubecki authored and thaJeztah committed Oct 31, 2019
1 parent f123e43 commit 0153624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/trust/sign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestGetOrGenerateNotaryKey(t *testing.T) {
assert.Check(t, is.DeepEqual(rootKeyA.Public(), rootKeyB.Public()))

// Now also try with a delegation key
releasesKey, err := getOrGenerateNotaryKey(notaryRepo, data.RoleName(trust.ReleasesRole))
releasesKey, err := getOrGenerateNotaryKey(notaryRepo, trust.ReleasesRole)
assert.NilError(t, err)
assert.Check(t, releasesKey != nil)

Expand Down

0 comments on commit 0153624

Please sign in to comment.