@@ -116,7 +116,7 @@ func TestDownload(t *testing.T) {
116
116
{"openocd" , "0.11.0-arduino2" , []string {"bin" , "share" }},
117
117
{"dfu-util" , "0.10.0-arduino1" , []string {"dfu-prefix" , "dfu-suffix" , "dfu-util" }},
118
118
{"rp2040tools" , "1.0.6" , []string {"elf2uf2" , "picotool" , "pioasm" , "rp2040load" }},
119
- {"esptool_py" , "4.5.1" , []string {"esptool" , "esptool.py" }},
119
+ {"esptool_py" , "4.5.1" , []string {"esptool" }},
120
120
{"arduino-fwuploader" , "2.2.2" , []string {"arduino-fwuploader" , "LICENSE.txt" }},
121
121
{"fwupdater" , "0.1.12" , []string {"firmwares" , "FirmwareUploader" , "LICENSE.txt" }}, // old legacy tool
122
122
}
@@ -145,7 +145,11 @@ func TestDownload(t *testing.T) {
145
145
if filePath .IsDir () {
146
146
require .DirExists (t , filePath .String ())
147
147
} else {
148
- require .FileExists (t , filePath .String ())
148
+ if OS == "windows" {
149
+ require .FileExists (t , filePath .String ()+ ".exe" )
150
+ } else {
151
+ require .FileExists (t , filePath .String ())
152
+ }
149
153
}
150
154
}
151
155
0 commit comments