parse_test: fix formatting
Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
This commit is contained in:
parent
5225bc2f3c
commit
96b097bef3
|
@ -580,7 +580,7 @@ func TestEnvironmentVariableRequired(t *testing.T) {
|
|||
assert.Equal(t, "bar", args.Foo)
|
||||
}
|
||||
|
||||
func TestEnvironmentVariableSliceArgumentString(t *testing.T) {
|
||||
func TestEnvironmentVariableSliceArgumentString(t *testing.T) {
|
||||
var args struct {
|
||||
Foo []string `arg:"env"`
|
||||
}
|
||||
|
@ -589,7 +589,7 @@ func TestEnvironmentVariableSliceArgumentString(t *testing.T) {
|
|||
assert.Equal(t, []string{"bar", "baz, qux"}, args.Foo)
|
||||
}
|
||||
|
||||
func TestEnvironmentVariableSliceArgumentInteger(t *testing.T) {
|
||||
func TestEnvironmentVariableSliceArgumentInteger(t *testing.T) {
|
||||
var args struct {
|
||||
Foo []int `arg:"env"`
|
||||
}
|
||||
|
@ -598,7 +598,7 @@ func TestEnvironmentVariableSliceArgumentInteger(t *testing.T) {
|
|||
assert.Equal(t, []int{1, 99}, args.Foo)
|
||||
}
|
||||
|
||||
func TestEnvironmentVariableSliceArgumentFloat(t *testing.T) {
|
||||
func TestEnvironmentVariableSliceArgumentFloat(t *testing.T) {
|
||||
var args struct {
|
||||
Foo []float32 `arg:"env"`
|
||||
}
|
||||
|
@ -607,7 +607,7 @@ func TestEnvironmentVariableSliceArgumentFloat(t *testing.T) {
|
|||
assert.Equal(t, []float32{1.1, 99.9}, args.Foo)
|
||||
}
|
||||
|
||||
func TestEnvironmentVariableSliceArgumentBool(t *testing.T) {
|
||||
func TestEnvironmentVariableSliceArgumentBool(t *testing.T) {
|
||||
var args struct {
|
||||
Foo []bool `arg:"env"`
|
||||
}
|
||||
|
@ -616,7 +616,7 @@ func TestEnvironmentVariableSliceArgumentBool(t *testing.T) {
|
|||
assert.Equal(t, []bool{true, false, false, true}, args.Foo)
|
||||
}
|
||||
|
||||
func TestEnvironmentVariableSliceArgumentWrongCsv(t *testing.T) {
|
||||
func TestEnvironmentVariableSliceArgumentWrongCsv(t *testing.T) {
|
||||
var args struct {
|
||||
Foo []int `arg:"env"`
|
||||
}
|
||||
|
@ -625,7 +625,7 @@ func TestEnvironmentVariableSliceArgumentWrongCsv(t *testing.T) {
|
|||
assert.Error(t, err)
|
||||
}
|
||||
|
||||
func TestEnvironmentVariableSliceArgumentWrongType(t *testing.T) {
|
||||
func TestEnvironmentVariableSliceArgumentWrongType(t *testing.T) {
|
||||
var args struct {
|
||||
Foo []bool `arg:"env"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue