Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Prafulla Mahindrakar <[email protected]>
  • Loading branch information
pmahindrakar-oss committed Sep 16, 2022
1 parent 6dcbad5 commit f9c2772
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scheduler/core/gocron_scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,6 @@ func TestScheduleJob(t *testing.T) {
Active: &True,
}
t.Run("using schedule time", func(t *testing.T) {
var schedules []models.SchedulableEntity
schedules = append(schedules, scheduleFixed)
wg := &sync.WaitGroup{}
wg.Add(1)
timedFuncWithSchedule := func(jobCtx context.Context, schedule models.SchedulableEntity, scheduleTime time.Time) error {
Expand All @@ -327,8 +325,6 @@ func TestScheduleJob(t *testing.T) {
})

t.Run("without schedule time", func(t *testing.T) {
var schedules []models.SchedulableEntity
schedules = append(schedules, scheduleFixed)
wg := &sync.WaitGroup{}
wg.Add(1)
timedFuncWithSchedule := func(jobCtx context.Context, schedule models.SchedulableEntity, scheduleTime time.Time) error {
Expand Down

0 comments on commit f9c2772

Please sign in to comment.