open-consul/command/connect/envoy/pipe-bootstrap/connect_envoy_pipe-bootstrap_test.go
Daniel Nephin 177a504e9f envoy: start timeout func after validation
This removes the need to check arg length in the timeout function.
2021-05-31 17:37:58 -04:00

15 lines
245 B
Go

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