consul/command/troubleshoot/troubleshoot_test.go

14 lines
201 B
Go
Raw Normal View History

2023-02-01 23:11:05 +00:00
package troubleshoot
import (
"strings"
"testing"
)
func TestTroubleshootCommand_noTabs(t *testing.T) {
t.Parallel()
if strings.ContainsRune(New().Help(), '\t') {
t.Fatal("help has tabs")
}
}