mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-19 20:57:53 +02:00
18 lines
345 B
Go
18 lines
345 B
Go
|
package healthcheck
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/goreleaser/goreleaser/internal/testctx"
|
||
|
"github.com/stretchr/testify/require"
|
||
|
)
|
||
|
|
||
|
func TestDependencies(t *testing.T) {
|
||
|
ctx := testctx.New()
|
||
|
require.Equal(t, []string{"git", "go"}, system{}.Dependencies(ctx))
|
||
|
}
|
||
|
|
||
|
func TestStringer(t *testing.T) {
|
||
|
require.NotEmpty(t, system{}.String())
|
||
|
}
|