@@ -70,7 +70,7 @@ func TestPlatformSearch(t *testing.T) {
7070 Releases : map [string ]* rpc.PlatformRelease {
7171 "1.0.5" : {
7272 Name : "RK002" ,
73- Type : []string {"Contributed" },
73+ Types : []string {"Contributed" },
7474 Installed : false ,
7575 Version : "1.0.5" ,
7676 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -79,7 +79,7 @@ func TestPlatformSearch(t *testing.T) {
7979 },
8080 "1.0.6" : {
8181 Name : "RK002" ,
82- Type : []string {"Contributed" },
82+ Types : []string {"Contributed" },
8383 Installed : false ,
8484 Version : "1.0.6" ,
8585 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -110,7 +110,7 @@ func TestPlatformSearch(t *testing.T) {
110110 Releases : map [string ]* rpc.PlatformRelease {
111111 "1.0.5" : {
112112 Name : "RK002" ,
113- Type : []string {"Contributed" },
113+ Types : []string {"Contributed" },
114114 Installed : false ,
115115 Version : "1.0.5" ,
116116 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -119,7 +119,7 @@ func TestPlatformSearch(t *testing.T) {
119119 },
120120 "1.0.6" : {
121121 Name : "RK002" ,
122- Type : []string {"Contributed" },
122+ Types : []string {"Contributed" },
123123 Installed : false ,
124124 Version : "1.0.6" ,
125125 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -150,7 +150,7 @@ func TestPlatformSearch(t *testing.T) {
150150 Releases : map [string ]* rpc.PlatformRelease {
151151 "1.0.5" : {
152152 Name : "RK002" ,
153- Type : []string {"Contributed" },
153+ Types : []string {"Contributed" },
154154 Installed : false ,
155155 Version : "1.0.5" ,
156156 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -159,7 +159,7 @@ func TestPlatformSearch(t *testing.T) {
159159 },
160160 "1.0.6" : {
161161 Name : "RK002" ,
162- Type : []string {"Contributed" },
162+ Types : []string {"Contributed" },
163163 Installed : false ,
164164 Version : "1.0.6" ,
165165 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -190,7 +190,7 @@ func TestPlatformSearch(t *testing.T) {
190190 Releases : map [string ]* rpc.PlatformRelease {
191191 "1.0.5" : {
192192 Name : "RK002" ,
193- Type : []string {"Contributed" },
193+ Types : []string {"Contributed" },
194194 Installed : false ,
195195 Version : "1.0.5" ,
196196 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -199,7 +199,7 @@ func TestPlatformSearch(t *testing.T) {
199199 },
200200 "1.0.6" : {
201201 Name : "RK002" ,
202- Type : []string {"Contributed" },
202+ Types : []string {"Contributed" },
203203 Installed : false ,
204204 Version : "1.0.6" ,
205205 Boards : []* rpc.Board {{Name : "RK002" }},
@@ -230,7 +230,7 @@ func TestPlatformSearch(t *testing.T) {
230230 Releases : map [string ]* rpc.PlatformRelease {
231231 "1.8.3" : {
232232 Name : "Arduino AVR Boards" ,
233- Type : []string {"Arduino" },
233+ Types : []string {"Arduino" },
234234 Installed : false ,
235235 Version : "1.8.3" ,
236236 Boards : []* rpc.Board {
@@ -288,7 +288,7 @@ func TestPlatformSearch(t *testing.T) {
288288 Releases : map [string ]* rpc.PlatformRelease {
289289 "1.8.3" : {
290290 Name : "Arduino AVR Boards" ,
291- Type : []string {"Arduino" },
291+ Types : []string {"Arduino" },
292292 Installed : false ,
293293 Version : "1.8.3" ,
294294 Boards : []* rpc.Board {
0 commit comments