mirror of https://github.com/hashicorp/consul
parent
9a9e5ef82d
commit
675e727224
@ -0,0 +1,13 @@
|
||||
package cat
|
||||
|
||||
import (
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCatalogCommand_noTabs(t *testing.T) {
|
||||
t.Parallel()
|
||||
if strings.ContainsRune(New().Help(), '\t') {
|
||||
t.Fatal("usage has tabs")
|
||||
}
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package command
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestCatalogCommand_noTabs(t *testing.T) {
|
||||
t.Parallel()
|
||||
assertNoTabs(t, new(CatalogCommand))
|
||||
}
|
Loading…
Reference in new issue