This commit is contained in:
Jared Forsyth 2013-11-18 16:37:59 -07:00
parent ccb1528bb0
commit 73e88630a5
2 changed files with 2 additions and 5 deletions

View File

@ -2,8 +2,8 @@ package cli
import ( import (
"flag" "flag"
"strings"
"strconv" "strconv"
"strings"
) )
// Context is a type that is passed through to // Context is a type that is passed through to

View File

@ -65,7 +65,6 @@ func TestIntFlagHelpOutput(t *testing.T) {
} }
} }
func TestParseMultiString(t *testing.T) { func TestParseMultiString(t *testing.T) {
(&cli.App{ (&cli.App{
Flags: []cli.Flag{ Flags: []cli.Flag{
@ -112,7 +111,7 @@ func TestParseMultiInt(t *testing.T) {
} }
a.Run([]string{"run", "--serve", "10"}) a.Run([]string{"run", "--serve", "10"})
} }
func TestParseMultiBool(t *testing.T) { func TestParseMultiBool(t *testing.T) {
a := cli.App{ a := cli.App{
Flags: []cli.Flag{ Flags: []cli.Flag{
@ -129,5 +128,3 @@ func TestParseMultiBool(t *testing.T) {
} }
a.Run([]string{"run", "--serve"}) a.Run([]string{"run", "--serve"})
} }