consul/command/operator/autopilot/operator_autopilot_test.go

14 lines
204 B
Go

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