spud/cli/stop_service_test.go
Marc Cataford 17221855cc
Some checks failed
/ build (push) Has been cancelled
feat: add explicit flag / arg definitions
2024-09-28 21:49:46 -04:00

17 lines
230 B
Go

package cli
import (
"testing"
)
func TestCliStopRequiresAServiceName(t *testing.T) {
cli := GetCli()
cli.SetArgs([]string{"stop"})
outcome := cli.Execute()
if outcome == nil {
t.Error("Expected error, got nil.")
}
}