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:
Kynan Ware 2026-01-19 11:18:32 -07:00
parent bc5a44a4ae
commit d187bef56f

View file

@ -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{}