open-consul/command/version/version_test.go
2017-10-18 00:08:45 +02:00

16 lines
239 B
Go

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