test(copilot): fix windows asset URL
Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
parent
2728635b43
commit
da5e5ac6d4
1 changed files with 2 additions and 2 deletions
|
|
@ -352,9 +352,9 @@ func TestFetchExpectedChecksum(t *testing.T) {
|
|||
)
|
||||
|
||||
client := &http.Client{Transport: reg}
|
||||
_, err := fetchExpectedChecksum(client, "https://example.com/checksums", "copilot-windows-x64.zip")
|
||||
_, err := fetchExpectedChecksum(client, "https://example.com/checksums", "copilot-win32-x64.zip")
|
||||
require.Error(t, err, "expected error for missing archive")
|
||||
require.Equal(t, "checksum not found for copilot-windows-x64.zip", err.Error(), "unexpected error")
|
||||
require.Equal(t, "checksum not found for copilot-win32-x64.zip", err.Error(), "unexpected error")
|
||||
})
|
||||
|
||||
t.Run("handles single space separator", func(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue