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