@@ -162,7 +162,7 @@ func TestCoreSearchNoArgs(t *testing.T) {
162
162
lines = append (lines , strings .Fields (strings .TrimSpace (v )))
163
163
}
164
164
// The header is printed on the first lines
165
- require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [19 ])
165
+ require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [20 ])
166
166
numPlatforms := len (lines ) - 1
167
167
168
168
// same thing in JSON format, also check the number of platforms found is the same
@@ -179,7 +179,7 @@ func TestCoreSearchNoArgs(t *testing.T) {
179
179
lines = append (lines , strings .Fields (strings .TrimSpace (v )))
180
180
}
181
181
// The header is printed on the first lines
182
- require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [20 ])
182
+ require .Equal (t , []string {"test:x86" , "2.0.0" , "test_core" }, lines [21 ])
183
183
numPlatforms = len (lines ) - 1
184
184
185
185
// same thing in JSON format, also check the number of platforms found is the same
@@ -385,7 +385,7 @@ func TestCoreZipslip(t *testing.T) {
385
385
env , cli := integrationtest .CreateArduinoCLIWithEnvironment (t )
386
386
defer env .CleanUp ()
387
387
388
- url := "https://raw.githubusercontent.com/arduino/arduino-cli/master/test /testdata/test_index.json"
388
+ url := "https://raw.githubusercontent.com/arduino/arduino-cli/master/internal/integrationtest /testdata/test_index.json"
389
389
_ , _ , err := cli .Run ("core" , "update-index" , "--additional-urls=" + url )
390
390
require .NoError (t , err )
391
391
@@ -399,7 +399,7 @@ func TestCoreBrokenInstall(t *testing.T) {
399
399
env , cli := integrationtest .CreateArduinoCLIWithEnvironment (t )
400
400
defer env .CleanUp ()
401
401
402
- url := "https://raw.githubusercontent.com/arduino/arduino-cli/master/test /testdata/test_index.json"
402
+ url := "https://raw.githubusercontent.com/arduino/arduino-cli/master/internal/integrationtest /testdata/test_index.json"
403
403
_ , _ , err := cli .Run ("core" , "update-index" , "--additional-urls=" + url )
404
404
require .NoError (t , err )
405
405
_ , _ , err = cli .Run ("core" , "install" , "brokenchecksum:x86" , "--additional-urls=" + url )
0 commit comments