open-consul/command/oper/operator_test.go

14 lines
190 B
Go
Raw Normal View History

package oper
import (
"strings"
"testing"
)
func TestOperatorCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("usage has tabs")
}
}