sync: replace container/heap with github.com/aalpar/deheap

This commit is contained in:
Nick Craig-Wood 2020-03-13 17:10:06 +00:00
parent 84369286df
commit 1e3d899db8
2 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,7 @@
package sync
import (
"container/heap"
"context"
"sync"
"sync/atomic"
@ -12,6 +13,9 @@ import (
"github.com/stretchr/testify/require"
)
// Check interface satisfied
var _ heap.Interface = (*pipe)(nil)
func TestPipe(t *testing.T) {
var queueLength int
var queueSize int64