Compare commits

..

1 commit

Author SHA1 Message Date
73ba913be4
update grequests to v2
Some checks failed
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/push/test unknown status
ci/woodpecker/push/build unknown status
2025-06-28 19:43:34 +02:00

View file

@ -64,7 +64,8 @@ func TestDownload(t *testing.T) {
"https://self-signed.badssl.com/", // Example URL that can be used
)
if err := ctx.Download(context.Background()); err == nil || err.Error() != "certificate from unknown authority" {
err := ctx.Download(context.Background())
if err == nil || err.Error() != "certificate from unknown authority" {
t.Errorf("expected certificate from unknown authority error, got %v", err)
}
})