mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
22 lines
418 B
Go
22 lines
418 B
Go
package build
|
|
|
|
var emptyEnv []string
|
|
|
|
// func TestRun(t *testing.T) {
|
|
// assert.NoError(t, Run(
|
|
// context.New(config.Project{}),
|
|
// buildtarget.Runtime,
|
|
// []string{"go", "list", "./..."},
|
|
// emptyEnv,
|
|
// ))
|
|
// }
|
|
|
|
// func TestRunInvalidCommand(t *testing.T) {
|
|
// assert.Error(t, Run(
|
|
// context.New(config.Project{}),
|
|
// buildtarget.Runtime,
|
|
// []string{"gggggo", "nope"},
|
|
// emptyEnv,
|
|
// ))
|
|
// }
|