fix failing tests
This commit is contained in:
parent
8689105c58
commit
2b80488fa3
|
@ -553,9 +553,8 @@ func optionKindSwitch(kind reflect.Kind, typ CommandOptionType) (expectType Comm
|
||||||
return StringOptionType
|
return StringOptionType
|
||||||
case reflect.Bool:
|
case reflect.Bool:
|
||||||
return BooleanOptionType
|
return BooleanOptionType
|
||||||
default:
|
|
||||||
}
|
}
|
||||||
return
|
return typ
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unmarshal unmarshals the options into the struct pointer v. Each struct field
|
// Unmarshal unmarshals the options into the struct pointer v. Each struct field
|
||||||
|
|
Loading…
Reference in New Issue