github.phpd.cn/hashicorp/consul@v1.4.5/command/catalog/catalog_test.go (about) 1 package catalog 2 3 import ( 4 "strings" 5 "testing" 6 ) 7 8 func TestCatalogCommand_noTabs(t *testing.T) { 9 t.Parallel() 10 if strings.ContainsRune(New().Help(), '\t') { 11 t.Fatal("help has tabs") 12 } 13 }