consul/command/troubleshoot/proxy/troubleshoot_proxy_test.go

17 lines
244 B
Go
Raw Normal View History

2023-02-01 23:11:05 +00:00
package proxy
import (
"strings"
"testing"
"github.com/mitchellh/cli"
)
2023-02-01 23:11:05 +00:00
func TestTroubleshootProxyCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New(cli.NewMockUi()).Help(), '\t') {
t.Fatal("help has tabs")
}
}