We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4117277 commit 9ea870aCopy full SHA for 9ea870a
tools/download_test.go
@@ -116,7 +116,7 @@ func TestDownload(t *testing.T) {
116
{"openocd", "0.11.0-arduino2", []string{"bin", "share"}},
117
{"dfu-util", "0.10.0-arduino1", []string{"dfu-prefix", "dfu-suffix", "dfu-util"}},
118
{"rp2040tools", "1.0.6", []string{"elf2uf2", "picotool", "pioasm", "rp2040load"}},
119
- {"esptool_py", "4.5.1", []string{"esptool", "esptool.py"}},
+ {"esptool_py", "4.5.1", []string{"esptool"}},
120
{"arduino-fwuploader", "2.2.2", []string{"arduino-fwuploader", "LICENSE.txt"}},
121
{"fwupdater", "0.1.12", []string{"firmwares", "FirmwareUploader", "LICENSE.txt"}}, // old legacy tool
122
}
@@ -141,6 +141,9 @@ func TestDownload(t *testing.T) {
141
142
// Check that the files have been created
143
for _, file := range tc.filesCreated {
144
+ if OS == "windows" {
145
+ file = file + ".exe"
146
+ }
147
filePath := toolDir.Join(file)
148
if filePath.IsDir() {
149
require.DirExists(t, filePath.String())
0 commit comments