Commit f0b46e22 authored by rht's avatar rht

Run 'gofmt -s -w' on these files

parent dd504bd1
...@@ -41,11 +41,11 @@ func TestQueuesReturnTypeIsSameAsParameterToPush(t *testing.T) { ...@@ -41,11 +41,11 @@ func TestQueuesReturnTypeIsSameAsParameterToPush(t *testing.T) {
func TestCorrectnessOfPop(t *testing.T) { func TestCorrectnessOfPop(t *testing.T) {
q := New(PriorityComparator) q := New(PriorityComparator)
tasks := []TestElem{ tasks := []TestElem{
TestElem{Key: "a", Priority: 9}, {Key: "a", Priority: 9},
TestElem{Key: "b", Priority: 4}, {Key: "b", Priority: 4},
TestElem{Key: "c", Priority: 3}, {Key: "c", Priority: 3},
TestElem{Key: "d", Priority: 0}, {Key: "d", Priority: 0},
TestElem{Key: "e", Priority: 6}, {Key: "e", Priority: 6},
} }
for _, e := range tasks { for _, e := range tasks {
q.Push(&e) q.Push(&e)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment