open-consul/command/tls/tls_test.go

14 lines
188 B
Go

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