@@ -172,7 +172,7 @@ func compileWithSimpleSketchCustomEnv(t *testing.T, env *integrationtest.Environ
172172 md5 := md5 .Sum (([]byte (sketchPath .String ())))
173173 sketchPathMd5 := strings .ToUpper (hex .EncodeToString (md5 [:]))
174174 require .NotEmpty (t , sketchPathMd5 )
175- buildDir := paths .TempDir ().Join ("arduino" , "sketches" , "sketch-" + sketchPathMd5 )
175+ buildDir := paths .TempDir ().Join ("arduino" , "sketches" , sketchPathMd5 )
176176 require .FileExists (t , buildDir .Join (sketchName + ".ino.eep" ).String ())
177177 require .FileExists (t , buildDir .Join (sketchName + ".ino.elf" ).String ())
178178 require .FileExists (t , buildDir .Join (sketchName + ".ino.hex" ).String ())
@@ -406,7 +406,7 @@ func compileWithOutputDirFlag(t *testing.T, env *integrationtest.Environment, cl
406406 md5 := md5 .Sum (([]byte (sketchPath .String ())))
407407 sketchPathMd5 := strings .ToUpper (hex .EncodeToString (md5 [:]))
408408 require .NotEmpty (t , sketchPathMd5 )
409- buildDir := paths .TempDir ().Join ("arduino" , "sketches" , "sketch-" + sketchPathMd5 )
409+ buildDir := paths .TempDir ().Join ("arduino" , "sketches" , sketchPathMd5 )
410410 require .FileExists (t , buildDir .Join (sketchName + ".ino.eep" ).String ())
411411 require .FileExists (t , buildDir .Join (sketchName + ".ino.elf" ).String ())
412412 require .FileExists (t , buildDir .Join (sketchName + ".ino.hex" ).String ())
@@ -473,7 +473,7 @@ func compileWithCustomBuildPath(t *testing.T, env *integrationtest.Environment,
473473 md5 := md5 .Sum (([]byte (sketchPath .String ())))
474474 sketchPathMd5 := strings .ToUpper (hex .EncodeToString (md5 [:]))
475475 require .NotEmpty (t , sketchPathMd5 )
476- buildDir := paths .TempDir ().Join ("arduino" , "sketches" , "sketch-" + sketchPathMd5 )
476+ buildDir := paths .TempDir ().Join ("arduino" , "sketches" , sketchPathMd5 )
477477 require .NoFileExists (t , buildDir .Join (sketchName + ".ino.eep" ).String ())
478478 require .NoFileExists (t , buildDir .Join (sketchName + ".ino.elf" ).String ())
479479 require .NoFileExists (t , buildDir .Join (sketchName + ".ino.hex" ).String ())
@@ -1007,7 +1007,7 @@ func compileWithInvalidBuildOptionJson(t *testing.T, env *integrationtest.Enviro
10071007 md5 := md5 .Sum (([]byte (sketchPath .String ())))
10081008 sketchPathMd5 := strings .ToUpper (hex .EncodeToString (md5 [:]))
10091009 require .NotEmpty (t , sketchPathMd5 )
1010- buildDir := paths .TempDir ().Join ("arduino" , "sketches" , "sketch-" + sketchPathMd5 )
1010+ buildDir := paths .TempDir ().Join ("arduino" , "sketches" , sketchPathMd5 )
10111011
10121012 _ , _ , err = cli .Run ("compile" , "-b" , fqbn , sketchPath .String (), "--verbose" )
10131013 require .NoError (t , err )
0 commit comments