From 584808121887a5151eb894fa58ce4a34e583d0de Mon Sep 17 00:00:00 2001 From: OhBonsai Date: Mon, 17 Aug 2020 13:27:13 +0800 Subject: [PATCH] fix useless test case --- scheduler/queue/queue_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler/queue/queue_test.go b/scheduler/queue/queue_test.go index 2a1de66b..1c82acc0 100644 --- a/scheduler/queue/queue_test.go +++ b/scheduler/queue/queue_test.go @@ -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) } } }