File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ func tmpDirOrDie() string {
36
36
}
37
37
38
38
func TestGenBuildPath (t * testing.T ) {
39
- want := filepath . Join ( os . TempDir (), "arduino-sketch-ACBD18DB4CC2F85CEDEF654FCCC4A4D8" )
40
- assert .Equal (t , want , builder .GenBuildPath (paths .New ("foo" )).String ( ))
39
+ want := paths . TempDir (). Join ( "arduino-sketch-ACBD18DB4CC2F85CEDEF654FCCC4A4D8" )
40
+ assert .True (t , builder .GenBuildPath (paths .New ("foo" )).EquivalentTo ( want ))
41
41
42
- want = filepath . Join ( os . TempDir (), "arduino-sketch-D41D8CD98F00B204E9800998ECF8427E" )
43
- assert .Equal (t , want , builder .GenBuildPath (nil ).String ( ))
42
+ want = paths . TempDir (). Join ( "arduino-sketch-D41D8CD98F00B204E9800998ECF8427E" )
43
+ assert .True (t , builder .GenBuildPath (nil ).EquivalentTo ( want ))
44
44
}
45
45
46
46
func TestEnsureBuildPathExists (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments