Skip to content

Commit

Permalink
feat: tests
Browse files Browse the repository at this point in the history
Signed-off-by: nabil salah <[email protected]>
  • Loading branch information
Nabil-Salah committed Aug 20, 2024
1 parent f6ad59f commit e8c7c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/foreman_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ db:
cnt++
}
if test.expectErr {
if cnt <= 0{
if cnt == 0{
t.Errorf("expected error but got nil")
}
}
Expand Down

0 comments on commit e8c7c6c

Please sign in to comment.