@@ -184,7 +184,7 @@ func initNoProfile(t *testing.T, env *integrationtest.Environment, cli *integrat
184
184
require .FileExists (t , projectFile .String ())
185
185
fileContent , err := projectFile .ReadFile ()
186
186
require .NoError (t , err )
187
- require .Equal (t , "profiles:\n " , string (fileContent ))
187
+ require .Equal (t , "profiles: {} \n " , string (fileContent ))
188
188
}
189
189
190
190
func initWithCorrectFqbn (t * testing.T , env * integrationtest.Environment , cli * integrationtest.ArduinoCLI ) {
@@ -195,7 +195,7 @@ func initWithCorrectFqbn(t *testing.T, env *integrationtest.Environment, cli *in
195
195
require .FileExists (t , projectFile .String ())
196
196
fileContent , err := projectFile .ReadFile ()
197
197
require .NoError (t , err )
198
- require .Equal (t , "profiles:\n Uno:\n fqbn: arduino:avr:uno\n platforms:\n - platform: arduino:avr (1.8.6)\n libraries:\n \n default_profile: Uno\n " , string (fileContent ))
198
+ require .Equal (t , "profiles:\n Uno:\n fqbn: arduino:avr:uno\n platforms:\n - platform: arduino:avr (1.8.6)\n libraries: [] \n \n default_profile: Uno\n " , string (fileContent ))
199
199
}
200
200
201
201
func initWithWrongFqbn (t * testing.T , env * integrationtest.Environment , cli * integrationtest.ArduinoCLI ) {
@@ -315,7 +315,7 @@ func removeLibFromDefaultProfile(t *testing.T, env *integrationtest.Environment,
315
315
require .NoError (t , err )
316
316
fileContent , err := cli .SketchbookDir ().Join ("Simple" , "sketch.yaml" ).ReadFile ()
317
317
require .NoError (t , err )
318
- require .Equal (t , "profiles:\n Uno:\n fqbn: arduino:avr:uno\n platforms:\n - platform: arduino:avr (1.8.6)\n libraries:\n \n default_profile: Uno\n " , string (fileContent ))
318
+ require .Equal (t , "profiles:\n Uno:\n fqbn: arduino:avr:uno\n platforms:\n - platform: arduino:avr (1.8.6)\n libraries: [] \n \n default_profile: Uno\n " , string (fileContent ))
319
319
}
320
320
321
321
func addInexistentLibToDefaultProfile (t * testing.T , env * integrationtest.Environment , cli * integrationtest.ArduinoCLI ) {
0 commit comments