mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 13:26:07 +00:00
e1b1ab7ef6
This removes the need to check arg length in the timeout function.
15 lines
245 B
Go
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")
|
|
}
|
|
}
|