Fix ineffectual assignment lint warnings

This commit is contained in:
Preetha Appan 2018-03-17 10:49:48 -05:00
parent 38b2e23558
commit 462b431291
No known key found for this signature in database
GPG Key ID: 9F7C19990A50EAFC
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func TestJobs_Register(t *testing.T) {
if err != nil {
t.Fatalf("err: %s", err)
}
assertQueryMeta(t, qm)
if n := len(resp); n != 0 {
t.Fatalf("expected 0 jobs, got: %d", n)
}
@ -650,6 +651,8 @@ func TestJobs_EnforceRegister(t *testing.T) {
if err != nil {
t.Fatalf("err: %s", err)
}
assertQueryMeta(t, qm)
if n := len(resp); n != 0 {
t.Fatalf("expected 0 jobs, got: %d", n)
}