@@ -61,7 +61,7 @@ func TestPlatformSearch(t *testing.T) {
6161 Website : "https://www.retrokits.com" ,
6262 Email : "info@retrokits.com" ,
6363 Boards : []* rpc.Board {{Name : "RK002" }},
64- Category : "Contributed" ,
64+ Type : [] string { "Contributed" } ,
6565 })
6666 require .Contains (t , res .SearchOutput , & rpc.Platform {
6767 Id : "Retrokits-RK002:arm" ,
@@ -72,7 +72,7 @@ func TestPlatformSearch(t *testing.T) {
7272 Website : "https://www.retrokits.com" ,
7373 Email : "info@retrokits.com" ,
7474 Boards : []* rpc.Board {{Name : "RK002" }},
75- Category : "Contributed" ,
75+ Type : [] string { "Contributed" } ,
7676 })
7777
7878 res , stat = PlatformSearch (& rpc.PlatformSearchRequest {
@@ -92,7 +92,7 @@ func TestPlatformSearch(t *testing.T) {
9292 Website : "https://www.retrokits.com" ,
9393 Email : "info@retrokits.com" ,
9494 Boards : []* rpc.Board {{Name : "RK002" }},
95- Category : "Contributed" ,
95+ Type : [] string { "Contributed" } ,
9696 })
9797
9898 // Search the Package Maintainer
@@ -113,7 +113,7 @@ func TestPlatformSearch(t *testing.T) {
113113 Website : "https://www.retrokits.com" ,
114114 Email : "info@retrokits.com" ,
115115 Boards : []* rpc.Board {{Name : "RK002" }},
116- Category : "Contributed" ,
116+ Type : [] string { "Contributed" } ,
117117 })
118118 require .Contains (t , res .SearchOutput , & rpc.Platform {
119119 Id : "Retrokits-RK002:arm" ,
@@ -124,7 +124,7 @@ func TestPlatformSearch(t *testing.T) {
124124 Website : "https://www.retrokits.com" ,
125125 Email : "info@retrokits.com" ,
126126 Boards : []* rpc.Board {{Name : "RK002" }},
127- Category : "Contributed" ,
127+ Type : [] string { "Contributed" } ,
128128 })
129129
130130 // Search using the Package name
@@ -145,7 +145,7 @@ func TestPlatformSearch(t *testing.T) {
145145 Website : "https://www.retrokits.com" ,
146146 Email : "info@retrokits.com" ,
147147 Boards : []* rpc.Board {{Name : "RK002" }},
148- Category : "Contributed" ,
148+ Type : [] string { "Contributed" } ,
149149 })
150150 require .Contains (t , res .SearchOutput , & rpc.Platform {
151151 Id : "Retrokits-RK002:arm" ,
@@ -156,7 +156,7 @@ func TestPlatformSearch(t *testing.T) {
156156 Website : "https://www.retrokits.com" ,
157157 Email : "info@retrokits.com" ,
158158 Boards : []* rpc.Board {{Name : "RK002" }},
159- Category : "Contributed" ,
159+ Type : [] string { "Contributed" } ,
160160 })
161161
162162 // Search using the Platform name
@@ -177,7 +177,7 @@ func TestPlatformSearch(t *testing.T) {
177177 Website : "https://www.retrokits.com" ,
178178 Email : "info@retrokits.com" ,
179179 Boards : []* rpc.Board {{Name : "RK002" }},
180- Category : "Contributed" ,
180+ Type : [] string { "Contributed" } ,
181181 })
182182 require .Contains (t , res .SearchOutput , & rpc.Platform {
183183 Id : "Retrokits-RK002:arm" ,
@@ -188,7 +188,7 @@ func TestPlatformSearch(t *testing.T) {
188188 Website : "https://www.retrokits.com" ,
189189 Email : "info@retrokits.com" ,
190190 Boards : []* rpc.Board {{Name : "RK002" }},
191- Category : "Contributed" ,
191+ Type : [] string { "Contributed" } ,
192192 })
193193
194194 // Search using a board name
@@ -208,7 +208,7 @@ func TestPlatformSearch(t *testing.T) {
208208 Maintainer : "Arduino" ,
209209 Website : "https://www.arduino.cc/" ,
210210 Email : "packages@arduino.cc" ,
211- Category : "Arduino" ,
211+ Type : [] string { "Arduino" } ,
212212 Boards : []* rpc.Board {
213213 {Name : "Arduino Yún" },
214214 {Name : "Arduino Uno" },
@@ -255,7 +255,7 @@ func TestPlatformSearch(t *testing.T) {
255255 Maintainer : "Arduino" ,
256256 Website : "https://www.arduino.cc/" ,
257257 Email : "packages@arduino.cc" ,
258- Category : "Arduino" ,
258+ Type : [] string { "Arduino" } ,
259259 Boards : []* rpc.Board {
260260 {Name : "Arduino Yún" },
261261 {Name : "Arduino Uno" },
0 commit comments