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

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