mirror of https://github.com/databricks/cli.git
str bool
This commit is contained in:
parent
3d5c076a4d
commit
be0ad482ff
|
@ -42,14 +42,14 @@ func TestFromTypeBasic(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "string",
|
name: "string",
|
||||||
typ: reflect.TypeOf(""),
|
typ: reflect.TypeOf(string("")),
|
||||||
expected: Schema{
|
expected: Schema{
|
||||||
Type: "string",
|
Type: "string",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "bool",
|
name: "bool",
|
||||||
typ: reflect.TypeOf(true),
|
typ: reflect.TypeOf(bool(true)),
|
||||||
expected: Schema{
|
expected: Schema{
|
||||||
Type: "boolean",
|
Type: "boolean",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue