check TYPE empty
This commit is contained in:
		
							parent
							
								
									9695ddf4f1
								
							
						
					
					
						commit
						b020d5227e
					
				@ -81,6 +81,7 @@ func TestParseIndex(t *testing.T) {
 | 
				
			|||||||
		},
 | 
							},
 | 
				
			||||||
		"type": {
 | 
							"type": {
 | 
				
			||||||
			Name:   "type",
 | 
								Name:   "type",
 | 
				
			||||||
 | 
								Type:   "",
 | 
				
			||||||
			Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name7"}}},
 | 
								Fields: []schema.IndexOption{{Field: &schema.Field{Name: "Name7"}}},
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user