mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 13:55:15 +02:00
sync: replace container/heap with github.com/aalpar/deheap
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user