mirror of
https://github.com/taigrr/go-selfupdate
synced 2025-01-18 04:33:12 -08:00
fix failing test
This commit is contained in:
parent
a402a0241c
commit
d131533cce
@ -52,7 +52,7 @@ func TestUpdaterCheckTime(t *testing.T) {
|
||||
mr := &mockRequester{}
|
||||
mr.handleRequest(
|
||||
func(url string) (io.ReadCloser, error) {
|
||||
equals(t, "http://updates.yourdomain.com/myapp/darwin-amd64.json", url)
|
||||
equals(t, "http://updates.yourdomain.com/myapp/linux-amd64.json", url)
|
||||
return newTestReaderCloser("{}"), nil
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user