consul/command/services/services_test.go

14 lines
185 B
Go
Raw Permalink Normal View History

2018-09-28 06:52:17 +00:00
package services
import (
"strings"
"testing"
)
func TestCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}