2022-09-07 16:30:33 +01:00
|
|
|
// Copyright (C) 2022 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package main_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"github.com/stretchr/testify/require"
|
|
|
|
|
|
|
|
segmentverify "storj.io/storj/cmd/tools/segment-verify"
|
2022-09-09 09:16:22 +01:00
|
|
|
"storj.io/storj/private/testplanet"
|
2022-09-07 16:30:33 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestService(t *testing.T) {
|
2022-09-09 09:16:22 +01:00
|
|
|
log := testplanet.NewLogger(t)
|
2022-09-12 20:22:01 +01:00
|
|
|
service := segmentverify.NewService(log.Named("segment-verify"), nil, nil)
|
2022-09-07 16:30:33 +01:00
|
|
|
require.NotNil(t, service)
|
|
|
|
}
|