Skip to content

Commit

Permalink
add lint suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
edmarSoaress committed Feb 7, 2024
1 parent 35c9f05 commit 37b775b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/payment/payment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestPayment(t *testing.T) {
if result == nil {
t.Error("result can't be nil")
}
if result.ID == 0 {
if result != nil && result.ID == 0 {
t.Error("id can't be nil")
}
if err != nil {
Expand Down Expand Up @@ -89,7 +89,7 @@ func TestPayment(t *testing.T) {
if result == nil {
t.Error("result can't be nil")
}
if result.ID == 0 {
if result != nil && result.ID == 0 {
t.Error("id can't be nil")
}
if err != nil {
Expand Down Expand Up @@ -124,7 +124,7 @@ func TestPayment(t *testing.T) {
if result == nil {
t.Error("result can't be nil")
}
if result.ID == 0 {
if result != nil && result.ID == 0 {
t.Error("id can't be nil")
}
if err != nil {
Expand Down

0 comments on commit 37b775b

Please sign in to comment.