running go fmt

This commit is contained in:
Josh Mervine 2014-06-17 22:33:30 -07:00
parent 7ca86444e8
commit 8f55ca83ff
3 changed files with 17 additions and 17 deletions

View File

@ -1,8 +1,8 @@
package cli_test package cli_test
import ( import (
"fmt"
"." "."
"fmt"
"os" "os"
"testing" "testing"
) )

View File

@ -1,8 +1,8 @@
package cli_test package cli_test
import ( import (
"flag"
"." "."
"flag"
"testing" "testing"
) )
@ -14,12 +14,12 @@ func TestCommandDoNotIgnoreFlags(t *testing.T) {
c := cli.NewContext(app, set, set) c := cli.NewContext(app, set, set)
command := cli.Command { command := cli.Command{
Name: "test-cmd", Name: "test-cmd",
ShortName: "tc", ShortName: "tc",
Usage: "this is for testing", Usage: "this is for testing",
Description: "testing", Description: "testing",
Action: func(_ *cli.Context) { }, Action: func(_ *cli.Context) {},
} }
err := command.Run(c) err := command.Run(c)
@ -34,12 +34,12 @@ func TestCommandIgnoreFlags(t *testing.T) {
c := cli.NewContext(app, set, set) c := cli.NewContext(app, set, set)
command := cli.Command { command := cli.Command{
Name: "test-cmd", Name: "test-cmd",
ShortName: "tc", ShortName: "tc",
Usage: "this is for testing", Usage: "this is for testing",
Description: "testing", Description: "testing",
Action: func(_ *cli.Context) { }, Action: func(_ *cli.Context) {},
SkipFlagParsing: true, SkipFlagParsing: true,
} }
err := command.Run(c) err := command.Run(c)

View File

@ -1,8 +1,8 @@
package cli_test package cli_test
import ( import (
"flag"
"." "."
"flag"
"testing" "testing"
) )