Skip to content

Commit

Permalink
Fix new lints
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Aug 14, 2024
1 parent 743b8a5 commit 14d7532
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/drivers/basic/account_management_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ func TestConfigureAccount(t *testing.T) {

listOfAccounts, err := driver.ManagedAccountNames()
if err != nil {
t.Fatalf(err.Error())
t.Fatal(err.Error())
}
assert.DeepEqual(t, "account", listOfAccounts, []string{"abcde"})

newAccount, newSecurityScanPolicy, err := driver.ConfigureAccount("abcde")
if err != nil {
t.Fatalf(err.Error())
t.Fatal(err.Error())
}

expectedAccount := &keppel.Account{
Expand Down
2 changes: 1 addition & 1 deletion internal/test/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func (e ErrorCodeWithMessage) AssertResponseBody(t *testing.T, requestInfo strin
matches = e.Message == "" || data.Errors[0].Message == e.Message
}
if !matches {
t.Errorf(requestInfo + ": got unexpected error")
t.Error(requestInfo + ": got unexpected error")
t.Logf("\texpected = %q\n", expectedStr)
t.Logf("\tactual = %q\n", string(responseBody))
}
Expand Down

0 comments on commit 14d7532

Please sign in to comment.