From f0b46e225a6224657399d1331389d255469b11c9 Mon Sep 17 00:00:00 2001 From: rht Date: Tue, 19 May 2015 00:42:21 +0700 Subject: [PATCH] Run 'gofmt -s -w' on these files --- container_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/container_test.go b/container_test.go index d96c677..1c333f8 100644 --- a/container_test.go +++ b/container_test.go @@ -41,11 +41,11 @@ func TestQueuesReturnTypeIsSameAsParameterToPush(t *testing.T) { func TestCorrectnessOfPop(t *testing.T) { q := New(PriorityComparator) tasks := []TestElem{ - TestElem{Key: "a", Priority: 9}, - TestElem{Key: "b", Priority: 4}, - TestElem{Key: "c", Priority: 3}, - TestElem{Key: "d", Priority: 0}, - TestElem{Key: "e", Priority: 6}, + {Key: "a", Priority: 9}, + {Key: "b", Priority: 4}, + {Key: "c", Priority: 3}, + {Key: "d", Priority: 0}, + {Key: "e", Priority: 6}, } for _, e := range tasks { q.Push(&e) -- GitLab