github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/internal/middleware/logging/logging_test.go (about) 1 package logging 2 3 import ( 4 "testing" 5 6 "github.com/goreleaser/goreleaser/pkg/context" 7 "github.com/stretchr/testify/require" 8 ) 9 10 func TestLogging(t *testing.T) { 11 require.NoError(t, Log("foo", func(ctx *context.Context) error { 12 return nil 13 }, DefaultInitialPadding)(nil)) 14 }