github.hscsec.cn/hashicorp/consul@v1.4.5/command/operator/autopilot/operator_autopilot_test.go (about)

     1  package autopilot
     2  
     3  import (
     4  	"strings"
     5  	"testing"
     6  )
     7  
     8  func TestOperatorAutopilotCommand_noTabs(t *testing.T) {
     9  	t.Parallel()
    10  	if strings.ContainsRune(New().Help(), '\t') {
    11  		t.Fatal("help has tabs")
    12  	}
    13  }