File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ import (
9
9
)
10
10
11
11
func 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"
13
13
// Instantiate Index
14
14
tempDir := paths .New (t .TempDir ()).Join (".arduino-create" )
15
15
Index := Init (indexURL , tempDir )
16
16
require .DirExists (t , tempDir .String ())
17
- fileName := "package_staging_index .json"
17
+ fileName := "package_index .json"
18
18
signatureName := fileName + ".sig"
19
19
parsedURL , _ := url .Parse (indexURL )
20
20
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) {
89
89
90
90
func TestInstallToolV2 (t * testing.T ) {
91
91
92
- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
92
+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
93
93
// Instantiate Index
94
94
Index := index .Init (indexURL , config .GetDataDir ())
95
95
@@ -170,7 +170,7 @@ func TestInstallToolV2(t *testing.T) {
170
170
}
171
171
172
172
func 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"
174
174
// Instantiate Index
175
175
Index := index .Init (indexURL , config .GetDataDir ())
176
176
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ import (
37
37
// Usage:
38
38
// You have to call the New() function passing it the required parameters:
39
39
//
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)
41
41
// tools := tools.New(dataDir, index, logger)
42
42
43
43
// 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) {
41
41
}
42
42
defer os .RemoveAll (tmp )
43
43
44
- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
44
+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
45
45
// Instantiate Index
46
46
Index := index .Init (indexURL , config .GetDataDir ())
47
47
@@ -122,7 +122,7 @@ func TestEvilFilename(t *testing.T) {
122
122
// Initialize indexes with a temp folder
123
123
tmp := t .TempDir ()
124
124
125
- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
125
+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
126
126
// Instantiate Index
127
127
Index := index .Init (indexURL , config .GetDataDir ())
128
128
@@ -191,7 +191,7 @@ func TestInstalledHead(t *testing.T) {
191
191
// Initialize indexes with a temp folder
192
192
tmp := t .TempDir ()
193
193
194
- indexURL := "https://downloads.arduino.cc/packages/package_staging_index .json"
194
+ indexURL := "https://downloads.arduino.cc/packages/package_index .json"
195
195
// Instantiate Index
196
196
Index := index .Init (indexURL , config .GetDataDir ())
197
197
You can’t perform that action at this time.
0 commit comments