Fix ineffectual assignment

This commit is contained in:
Alex Dadgar 2018-04-05 11:29:39 -07:00
parent 4fc1c207f9
commit 3c51d5a5ea

View file

@ -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