File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import (
99)
1010
1111func TestInit (t * testing.T ) {
12- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
12+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
1313 // Instantiate Index
1414 tempDir := paths .New (t .TempDir ()).Join (".arduino-create" )
1515 Index := Init (indexURL , tempDir )
1616 require .DirExists (t , tempDir .String ())
17- fileName := "package_staging_index .json"
17+ fileName := "package_index .json"
1818 signatureName := fileName + ".sig"
1919 parsedURL , _ := url .Parse (indexURL )
2020 require .Equal (t , Index .IndexURL , * parsedURL )
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ func TestUploadHandlerAgainstEvilFileNames(t *testing.T) {
8989
9090func TestInstallToolV2 (t * testing.T ) {
9191
92- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
92+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
9393 // Instantiate Index
9494 Index := index .Init (indexURL , config .GetDataDir ())
9595
@@ -170,7 +170,7 @@ func TestInstallToolV2(t *testing.T) {
170170}
171171
172172func TestInstalledHead (t * testing.T ) {
173- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
173+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
174174 // Instantiate Index
175175 Index := index .Init (indexURL , config .GetDataDir ())
176176
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import (
3737// Usage:
3838// You have to call the New() function passing it the required parameters:
3939//
40- // index = index.Init("https://downloads.arduino.cc/packages/package_staging_index .json", dataDir)
40+ // index = index.Init("https://downloads.arduino.cc/packages/package_index .json", dataDir)
4141// tools := tools.New(dataDir, index, logger)
4242
4343// Tools will represent the installed tools
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ func TestTools(t *testing.T) {
4141 }
4242 defer os .RemoveAll (tmp )
4343
44- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
44+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
4545 // Instantiate Index
4646 Index := index .Init (indexURL , config .GetDataDir ())
4747
@@ -122,7 +122,7 @@ func TestEvilFilename(t *testing.T) {
122122 // Initialize indexes with a temp folder
123123 tmp := t .TempDir ()
124124
125- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
125+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
126126 // Instantiate Index
127127 Index := index .Init (indexURL , config .GetDataDir ())
128128
@@ -191,7 +191,7 @@ func TestInstalledHead(t *testing.T) {
191191 // Initialize indexes with a temp folder
192192 tmp := t .TempDir ()
193193
194- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
194+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
195195 // Instantiate Index
196196 Index := index .Init (indexURL , config .GetDataDir ())
197197
You can’t perform that action at this time.
0 commit comments