This commit is contained in:
Shreyas Goenka 2024-09-04 10:43:46 +02:00
parent 3d5c076a4d
commit be0ad482ff
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 2 additions and 2 deletions

View File

@ -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",
},