@@ -55,8 +55,8 @@ func TestTypeRegexp(t *testing.T) {
55
55
{"string[]" , Type {IsSlice : true , SliceSize : - 1 , Kind : reflect .String , T : StringTy , Size : - 1 , Elem : & Type {Kind : reflect .String , T : StringTy , Size : - 1 , stringKind : "string" }, stringKind : "string[]" }},
56
56
{"string[2]" , Type {IsArray : true , SliceSize : 2 , Kind : reflect .String , T : StringTy , Size : - 1 , Elem : & Type {Kind : reflect .String , T : StringTy , Size : - 1 , stringKind : "string" }, stringKind : "string[2]" }},
57
57
{"address" , Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }},
58
- {"address[]" , Type {IsSlice : true , SliceSize : - 1 ,Kind : reflect .Array , Type :address_t , T : AddressTy , Size :20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[]" }},
59
- {"address[2]" , Type {IsArray : true , SliceSize : 2 ,Kind : reflect .Array , Type :address_t , T : AddressTy , Size :20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[2]" }},
58
+ {"address[]" , Type {IsSlice : true , SliceSize : - 1 , Kind : reflect .Array , Type : address_t , T : AddressTy , Size : 20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[]" }},
59
+ {"address[2]" , Type {IsArray : true , SliceSize : 2 , Kind : reflect .Array , Type : address_t , T : AddressTy , Size : 20 , Elem : & Type {Kind : reflect .Array , Type : address_t , Size : 20 , T : AddressTy , stringKind : "address" }, stringKind : "address[2]" }},
60
60
61
61
// TODO when fixed types are implemented properly
62
62
// {"fixed", Type{}},
0 commit comments