check TYPE empty

This commit is contained in:
labulakalia 2022-03-14 14:10:19 +08:00 committed by labulaka
parent 9695ddf4f1
commit b020d5227e

View File

@ -81,6 +81,7 @@ func TestParseIndex(t *testing.T) {
},
"type": {
Name: "type",
Type: "",
Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name7"}}},
},
}