1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-23 11:43:50 +00:00

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