consul/command/operator/operator_test.go
Frank Schroeder 56b24d3d4f commands: cleanup help and synopsis.
* move Help and Synopsis to bottom
* make help and synopsis constants
* make sure help output is formatted
2017-10-18 00:08:45 +02:00

13 lines
179 B
Go

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