open-consul/command/operator/raft/operator_raft_test.go

14 lines
193 B
Go
Raw Normal View History

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