fix useless test case

This commit is contained in:
OhBonsai 2020-08-17 13:27:13 +08:00
parent 2006bac45c
commit 5848081218

View file

@ -40,7 +40,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)
}
}
}