File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
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 ) {
Original file line number Diff line number Diff line change 4
4
5
5
require (
6
6
github.com/arduino/board-discovery v0.0.0-20180823133458-1ba29327fb0c
7
- github.com/arduino/go-paths-helper v1.5 .0
7
+ github.com/arduino/go-paths-helper v1.6 .0
8
8
github.com/arduino/go-properties-orderedmap v1.3.0
9
9
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b
10
10
github.com/arduino/go-win32-utils v0.0.0-20180330194947-ed041402e83b
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ github.com/arduino/go-paths-helper v1.4.0 h1:ilnseAdxmN1bFnLxxXHRtcdmt9jBf3O4jtY
18
18
github.com/arduino/go-paths-helper v1.4.0 /go.mod h1:V82BWgAAp4IbmlybxQdk9Bpkz8M4Qyx+RAFKaG9NuvU =
19
19
github.com/arduino/go-paths-helper v1.5.0 h1:RVo189hD+GhUS1rQ3gixwK1nSbvVR8MGIGa7Gxv2bdM =
20
20
github.com/arduino/go-paths-helper v1.5.0 /go.mod h1:V82BWgAAp4IbmlybxQdk9Bpkz8M4Qyx+RAFKaG9NuvU =
21
+ github.com/arduino/go-paths-helper v1.6.0 h1:S7/d7DqB9XlnvF9KrgSiGmo2oWKmYW6O/DTjj3Bijx4 =
22
+ github.com/arduino/go-paths-helper v1.6.0 /go.mod h1:V82BWgAAp4IbmlybxQdk9Bpkz8M4Qyx+RAFKaG9NuvU =
21
23
github.com/arduino/go-properties-orderedmap v1.3.0 h1:4No/vQopB36e7WUIk6H6TxiSEJPiMrVOCZylYmua39o =
22
24
github.com/arduino/go-properties-orderedmap v1.3.0 /go.mod h1:DKjD2VXY/NZmlingh4lSFMEYCVubfeArCsGPGDwb2yk =
23
25
github.com/arduino/go-timeutils v0.0.0-20171220113728-d1dd9e313b1b h1:9hDi4F2st6dbLC3y4i02zFT5quS4X6iioWifGlVwfy4 =
You can’t perform that action at this time.
0 commit comments