mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
Fixed formatting
This commit is contained in:
parent
94eba18f8c
commit
11970bde78
2 changed files with 6 additions and 6 deletions
|
@ -140,7 +140,7 @@ type Command struct {
|
||||||
commandsAreSorted bool
|
commandsAreSorted bool
|
||||||
// commandCalledAs is the name or alias value used to call this command.
|
// commandCalledAs is the name or alias value used to call this command.
|
||||||
commandCalledAs struct {
|
commandCalledAs struct {
|
||||||
name string
|
name string
|
||||||
called bool
|
called bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -526,11 +526,11 @@ func TestUpdateName(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
type calledAsTestcase struct {
|
type calledAsTestcase struct {
|
||||||
args []string
|
args []string
|
||||||
call string
|
call string
|
||||||
want string
|
want string
|
||||||
epm bool
|
epm bool
|
||||||
tc bool
|
tc bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tc *calledAsTestcase) test(t *testing.T) {
|
func (tc *calledAsTestcase) test(t *testing.T) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue