@@ -162,7 +162,7 @@ func TestCoreSearchNoArgs(t *testing.T) {
162162 lines = append (lines , strings .Fields (strings .TrimSpace (v )))
163163 }
164164 // 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 ])
166166 numPlatforms := len (lines ) - 1
167167
168168 // same thing in JSON format, also check the number of platforms found is the same
@@ -179,7 +179,7 @@ func TestCoreSearchNoArgs(t *testing.T) {
179179 lines = append (lines , strings .Fields (strings .TrimSpace (v )))
180180 }
181181 // 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 ])
183183 numPlatforms = len (lines ) - 1
184184
185185 // same thing in JSON format, also check the number of platforms found is the same
@@ -385,7 +385,7 @@ func TestCoreZipslip(t *testing.T) {
385385 env , cli := integrationtest .CreateArduinoCLIWithEnvironment (t )
386386 defer env .CleanUp ()
387387
388- url := "https://raw-hub.myxuebi.top/arduino/arduino-cli/master/test /testdata/test_index.json"
388+ url := "https://raw-hub.myxuebi.top/arduino/arduino-cli/master/internal/integrationtest /testdata/test_index.json"
389389 _ , _ , err := cli .Run ("core" , "update-index" , "--additional-urls=" + url )
390390 require .NoError (t , err )
391391
@@ -399,7 +399,7 @@ func TestCoreBrokenInstall(t *testing.T) {
399399 env , cli := integrationtest .CreateArduinoCLIWithEnvironment (t )
400400 defer env .CleanUp ()
401401
402- url := "https://raw-hub.myxuebi.top/arduino/arduino-cli/master/test /testdata/test_index.json"
402+ url := "https://raw-hub.myxuebi.top/arduino/arduino-cli/master/internal/integrationtest /testdata/test_index.json"
403403 _ , _ , err := cli .Run ("core" , "update-index" , "--additional-urls=" + url )
404404 require .NoError (t , err )
405405 _ , _ , err = cli .Run ("core" , "install" , "brokenchecksum:x86" , "--additional-urls=" + url )
0 commit comments