Skip to content

Commit

Permalink
fix: non-constant format string in call
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Jan 9, 2025
1 parent e0df35e commit 769e9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/dateutil_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestNextCronDuration(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
tm, err := parseTime(tt.creationTime)
if err != nil {
t.Errorf(err.Error())
t.Error(err.Error())
}
duration, err := NextCronDuration(tt.cron, tm, ext.NewSystemClock())
if err != nil {
Expand Down

0 comments on commit 769e9ac

Please sign in to comment.