Fix ineffectual assignment

This commit is contained in:
Alex Dadgar 2018-04-05 11:29:39 -07:00
parent 4fc1c207f9
commit 3c51d5a5ea
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func TestJobs_Register(t *testing.T) {
// Listing jobs before registering returns nothing
resp, _, err := jobs.List(nil)
require.Nil(err)
require.Emptyf(resp, "expected 0 jobs, got: %d", len(resp))
// Create a job and attempt to register it