consul/command/operator/autopilot/operator_autopilot_test.go

17 lines
274 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package autopilot
import (
"strings"
"testing"
)
func TestOperatorAutopilotCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}