github.com/kjdelisle/consul@v1.4.5/command/intention/intention_test.go (about)

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