consul/command/troubleshoot/upstreams/troubleshoot_upstreams_test.go

17 lines
252 B
Go

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