Fix ineffectual assignment
This commit is contained in:
parent
4fc1c207f9
commit
3c51d5a5ea
|
@ -25,6 +25,7 @@ func TestJobs_Register(t *testing.T) {
|
||||||
|
|
||||||
// Listing jobs before registering returns nothing
|
// Listing jobs before registering returns nothing
|
||||||
resp, _, err := jobs.List(nil)
|
resp, _, err := jobs.List(nil)
|
||||||
|
require.Nil(err)
|
||||||
require.Emptyf(resp, "expected 0 jobs, got: %d", len(resp))
|
require.Emptyf(resp, "expected 0 jobs, got: %d", len(resp))
|
||||||
|
|
||||||
// Create a job and attempt to register it
|
// Create a job and attempt to register it
|
||||||
|
|
Loading…
Reference in a new issue