summaryrefslogtreecommitdiff
path: root/src/pkg/container/heap/heap_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/container/heap/heap_test.go')
-rw-r--r--src/pkg/container/heap/heap_test.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pkg/container/heap/heap_test.go b/src/pkg/container/heap/heap_test.go
index 99722f2e9..2375906b9 100644
--- a/src/pkg/container/heap/heap_test.go
+++ b/src/pkg/container/heap/heap_test.go
@@ -43,14 +43,10 @@ func (h *myHeap) verify(t *testing.T, i int) {
}
-func (h *myHeap) Push(x interface{}) {
- h.IntVector.Push(x.(int));
-}
+func (h *myHeap) Push(x interface{}) { h.IntVector.Push(x.(int)) }
-func (h *myHeap) Pop() interface{} {
- return h.IntVector.Pop();
-}
+func (h *myHeap) Pop() interface{} { return h.IntVector.Pop() }
func TestInit(t *testing.T) {