Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonodonnell committed Jul 23, 2020
1 parent ec4e703 commit d45e644
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dependency/vault_common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestVaultRenewDuration(t *testing.T) {

var data = map[string]interface{}{
"rotation_period": json.Number("60"),
"ttl": json.Number("30"),
"ttl": json.Number("30"),
}

nonRenewableRotated := Secret{LeaseDuration: 100, Data: data}
Expand All @@ -39,7 +39,7 @@ func TestVaultRenewDuration(t *testing.T) {

data = map[string]interface{}{
"rotation_period": json.Number("30"),
"ttl": json.Number("5"),
"ttl": json.Number("5"),
}

nonRenewableRotated = Secret{LeaseDuration: 100, Data: data}
Expand All @@ -54,7 +54,7 @@ func TestVaultRenewDuration(t *testing.T) {
expiration := strconv.FormatInt(rawExpiration, 10)

data = map[string]interface{}{
"expiration": json.Number(expiration),
"expiration": json.Number(expiration),
"certificate": "foobar",
}

Expand All @@ -63,4 +63,4 @@ func TestVaultRenewDuration(t *testing.T) {
if nonRenewableCertDur < 85 || nonRenewableCertDur > 95 {
t.Fatalf("non renewable certificate duration is not within 85%% to 95%%: %f", nonRenewableCertDur)
}
}
}

0 comments on commit d45e644

Please sign in to comment.