From b020d5227e3ea41bf78190d56bc0ff05a2c3b8a2 Mon Sep 17 00:00:00 2001 From: labulakalia Date: Mon, 14 Mar 2022 14:10:19 +0800 Subject: [PATCH] check TYPE empty --- schema/index_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/schema/index_test.go b/schema/index_test.go index ef2651f6..3c4582bb 100644 --- a/schema/index_test.go +++ b/schema/index_test.go @@ -81,6 +81,7 @@ func TestParseIndex(t *testing.T) { }, "type": { Name: "type", + Type: "", Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name7"}}}, }, }