@@ -151,24 +151,24 @@ var tests = []struct {
151151 },
152152 indexColumns : []string {"col1" , "col3" },
153153 expectedKeyValues : []* indexKeyValue {
154- & indexKeyValue {sql .NewRow ("a" , int64 (100 )), & indexValue {Key : "0" , Pos : 0 }},
155- & indexKeyValue {sql .NewRow ("c" , int64 (100 )), & indexValue {Key : "0" , Pos : 1 }},
156- & indexKeyValue {sql .NewRow ("e" , int64 (200 )), & indexValue {Key : "0" , Pos : 2 }},
157- & indexKeyValue {sql .NewRow ("b" , int64 (100 )), & indexValue {Key : "1" , Pos : 0 }},
158- & indexKeyValue {sql .NewRow ("d" , int64 (200 )), & indexValue {Key : "1" , Pos : 1 }},
159- & indexKeyValue {sql .NewRow ("f" , int64 (200 )), & indexValue {Key : "1" , Pos : 2 }},
154+ {sql .NewRow ("a" , int64 (100 )), & indexValue {Key : "0" , Pos : 0 }},
155+ {sql .NewRow ("c" , int64 (100 )), & indexValue {Key : "0" , Pos : 1 }},
156+ {sql .NewRow ("e" , int64 (200 )), & indexValue {Key : "0" , Pos : 2 }},
157+ {sql .NewRow ("b" , int64 (100 )), & indexValue {Key : "1" , Pos : 0 }},
158+ {sql .NewRow ("d" , int64 (200 )), & indexValue {Key : "1" , Pos : 1 }},
159+ {sql .NewRow ("f" , int64 (200 )), & indexValue {Key : "1" , Pos : 2 }},
160160 },
161161 lookup : & dummyLookup {
162162 values : map [string ][]* indexValue {
163- "0" : [] * indexValue {
164- & indexValue {Key : "0" , Pos : 0 },
165- & indexValue {Key : "0" , Pos : 1 },
166- & indexValue {Key : "0" , Pos : 2 },
163+ "0" : {
164+ {Key : "0" , Pos : 0 },
165+ {Key : "0" , Pos : 1 },
166+ {Key : "0" , Pos : 2 },
167167 },
168- "1" : [] * indexValue {
169- & indexValue {Key : "1" , Pos : 0 },
170- & indexValue {Key : "1" , Pos : 1 },
171- & indexValue {Key : "1" , Pos : 2 },
168+ "1" : {
169+ {Key : "1" , Pos : 0 },
170+ {Key : "1" , Pos : 1 },
171+ {Key : "1" , Pos : 2 },
172172 },
173173 },
174174 },
0 commit comments