open-consul/command/catalog/catalog_test.go

14 lines
191 B
Go
Raw Normal View History

package catalog
import (
"strings"
"testing"
)
func TestCatalogCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}