@@ -30,7 +30,7 @@ func TestIncludesToIncludeFolders(t *testing.T) {
3030 DownloadCoresAndToolsAndLibraries (t )
3131
3232 ctx := & types.Context {
33- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" ),
33+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" ),
3434 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
3535 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
3636 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
@@ -66,7 +66,7 @@ func TestIncludesToIncludeFoldersSketchWithIfDef(t *testing.T) {
6666 DownloadCoresAndToolsAndLibraries (t )
6767
6868 ctx := & types.Context {
69- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" ),
69+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" ),
7070 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
7171 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
7272 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
@@ -101,7 +101,7 @@ func TestIncludesToIncludeFoldersIRremoteLibrary(t *testing.T) {
101101 DownloadCoresAndToolsAndLibraries (t )
102102
103103 ctx := & types.Context {
104- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" ),
104+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" ),
105105 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
106106 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
107107 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
@@ -139,7 +139,7 @@ func TestIncludesToIncludeFoldersANewLibrary(t *testing.T) {
139139 DownloadCoresAndToolsAndLibraries (t )
140140
141141 ctx := & types.Context {
142- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" ),
142+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" ),
143143 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
144144 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
145145 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
@@ -174,7 +174,7 @@ func TestIncludesToIncludeFoldersDuplicateLibs(t *testing.T) {
174174 DownloadCoresAndToolsAndLibraries (t )
175175
176176 ctx := & types.Context {
177- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" , "user_hardware" ),
177+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" , "user_hardware" ),
178178 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
179179 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
180180 SketchLocation : paths .New ("user_hardware" , "my_avr_platform" , "avr" , "libraries" , "SPI" , "examples" , "BarometricPressureSensor" , "BarometricPressureSensor.ino" ),
@@ -211,7 +211,7 @@ func TestIncludesToIncludeFoldersDuplicateLibsWithConflictingLibsOutsideOfPlatfo
211211 DownloadCoresAndToolsAndLibraries (t )
212212
213213 ctx := & types.Context {
214- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" , "user_hardware" ),
214+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" , "user_hardware" ),
215215 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
216216 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
217217 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
@@ -249,7 +249,7 @@ func TestIncludesToIncludeFoldersDuplicateLibs2(t *testing.T) {
249249 DownloadCoresAndToolsAndLibraries (t )
250250
251251 ctx := & types.Context {
252- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" , "downloaded_board_manager_stuff" ),
252+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" , "downloaded_board_manager_stuff" ),
253253 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
254254 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
255255 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
@@ -287,7 +287,7 @@ func TestIncludesToIncludeFoldersSubfolders(t *testing.T) {
287287 DownloadCoresAndToolsAndLibraries (t )
288288
289289 ctx := & types.Context {
290- HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "hardware" , " downloaded_hardware" ),
290+ HardwareDirs : paths .NewPathList (filepath .Join (".." , "hardware" ), "downloaded_hardware" ),
291291 BuiltInToolsDirs : paths .NewPathList ("downloaded_tools" ),
292292 BuiltInLibrariesDirs : paths .NewPathList ("downloaded_libraries" ),
293293 OtherLibrariesDirs : paths .NewPathList ("libraries" ),
0 commit comments