Merge pull request #3011 from OhBonsai/fixtest

fix useless test case
pull/3101/head
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
1 changed files with 1 additions and 1 deletions

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)
}
}
}