consul/command/troubleshoot/proxy/troubleshoot_proxy_test.go

17 lines
244 B
Go

package proxy
import (
"strings"
"testing"
"github.com/mitchellh/cli"
)
func TestTroubleshootProxyCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New(cli.NewMockUi()).Help(), '\t') {
t.Fatal("help has tabs")
}
}