mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +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
|
||||
// commandCalledAs is the name or alias value used to call this command.
|
||||
commandCalledAs struct {
|
||||
name string
|
||||
name string
|
||||
called bool
|
||||
}
|
||||
|
||||
|
|
|
@ -526,11 +526,11 @@ func TestUpdateName(t *testing.T) {
|
|||
}
|
||||
|
||||
type calledAsTestcase struct {
|
||||
args []string
|
||||
call string
|
||||
want string
|
||||
epm bool
|
||||
tc bool
|
||||
args []string
|
||||
call string
|
||||
want string
|
||||
epm bool
|
||||
tc bool
|
||||
}
|
||||
|
||||
func (tc *calledAsTestcase) test(t *testing.T) {
|
||||
|
|
Loading…
Add table
Reference in a new issue