consul/command/operator/autopilot/operator_autopilot_test.go

14 lines
203 B
Go
Raw Normal View History

package autopilot
import (
"strings"
"testing"
)
func TestOperatorAutopilotCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}