Skip to content

Commit 81e0e77

Browse files
Raghul-Msutaakar
andauthored
Update support/batch_test.go
Co-authored-by: Karel Suta <krlsuta@gmail.com>
1 parent b657fb2 commit 81e0e77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

support/batch_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ func TestGetJob(t *testing.T) {
4646
}
4747

4848
// Call the Job function using the fake client
49-
jobFunc := Job(test, "my-namespace", "my-job-1")
50-
job := jobFunc(g)
49+
job := Job(test, "my-namespace", "my-job-1")(g)
5150

5251
g.Expect(job.Name).To(gomega.Equal("my-job-1"))
5352
g.Expect(job.Namespace).To(gomega.Equal("my-namespace"))

0 commit comments

Comments
 (0)