consul/command/cat/catalog_test.go

14 lines
188 B
Go
Raw Normal View History

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