Merge pull request #3011 from OhBonsai/fixtest

fix useless test case
This commit is contained in:
Marko Gaćeša 2021-06-29 11:39:46 +02:00 committed by GitHub
commit bfc6e203c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ func TestQueue(t *testing.T) {
return
}
if got, want := next, item; got != want {
t.Errorf("Want build %d, got %d", item.ID, item.ID)
t.Errorf("Want build %d, got %d", want.ID, got.ID)
}
}
}