consul/command/operauto/operator_autopilot_test.go

14 lines
203 B
Go

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