diff --git a/libs/jsonschema/from_type_test.go b/libs/jsonschema/from_type_test.go index 7b83a897f..4f5c55248 100644 --- a/libs/jsonschema/from_type_test.go +++ b/libs/jsonschema/from_type_test.go @@ -42,14 +42,14 @@ func TestFromTypeBasic(t *testing.T) { }, { name: "string", - typ: reflect.TypeOf(""), + typ: reflect.TypeOf(string("")), expected: Schema{ Type: "string", }, }, { name: "bool", - typ: reflect.TypeOf(true), + typ: reflect.TypeOf(bool(true)), expected: Schema{ Type: "boolean", },