mirror of
https://github.com/rclone/rclone.git
synced 2025-08-14 07:49:00 +02:00
fs/hash: move interface assertion to tests so it doesn't pull in spf13/flag
This commit is contained in:
@ -6,10 +6,14 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/ncw/rclone/fs/hash"
|
||||
"github.com/spf13/pflag"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// Check it satisfies the interface
|
||||
var _ pflag.Value = (*hash.Type)(nil)
|
||||
|
||||
func TestHashSet(t *testing.T) {
|
||||
var h hash.Set
|
||||
|
||||
|
Reference in New Issue
Block a user