Fix OS name in test archive filename to 'win32'
Replaces runtime.GOOS with 'win32' in the test archive filename within TestDownloadCopilot. This ensures the test uses the expected archive name for Windows.
This commit is contained in:
parent
bc5a44a4ae
commit
d187bef56f
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ func TestDownloadCopilot(t *testing.T) {
|
|||
|
||||
checksum := sha256.Sum256(archive)
|
||||
checksumHex := hex.EncodeToString(checksum[:])
|
||||
archiveName := fmt.Sprintf("copilot-%s-%s.zip", runtime.GOOS, archString())
|
||||
archiveName := fmt.Sprintf("copilot-%s-%s.zip", "win32", archString())
|
||||
checksumFile := fmt.Sprintf("%s %s\n", checksumHex, archiveName)
|
||||
|
||||
reg := &httpmock.Registry{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue