Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thom-at-redhat committed Sep 5, 2024
1 parent c078eb9 commit 1dd430a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/utils/job_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func TestJobContext_Value(t *testing.T) {
JcRunning: true,
RunningLock: &sync.Mutex{},
},
want: nil,
want: nil,
},
}
for _, tt := range tests {
Expand Down Expand Up @@ -160,16 +160,16 @@ func TestJobContext_Deadline(t *testing.T) {
wantOk bool
}{
{
name: "Positive",
fields: fields{
name: "Positive",
fields: fields{
Ctx: goodCtx,
JcCancel: goodCancel,
Wg: &sync.WaitGroup{},
JcRunning: true,
RunningLock: &sync.Mutex{},
},
wantTime: time.Time{},
wantOk: false,
wantTime: time.Time{},
wantOk: false,
},
}
for _, tt := range tests {
Expand Down Expand Up @@ -209,15 +209,15 @@ func TestJobContext_Err(t *testing.T) {
wantErr bool
}{
{
name: "Positive",
fields: fields{
name: "Positive",
fields: fields{
Ctx: goodCtx,
JcCancel: goodCancel,
Wg: &sync.WaitGroup{},
JcRunning: true,
RunningLock: &sync.Mutex{},
},
wantErr: false,
wantErr: false,
},
}
for _, tt := range tests {
Expand Down

0 comments on commit 1dd430a

Please sign in to comment.