Compare commits

..

1 commit

Author SHA1 Message Date
00bf1820f1
chore(grequests): update grequests to v2
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful
2025-06-28 19:46:56 +02:00

View file

@ -93,7 +93,8 @@ func TestDownload(t *testing.T) {
ctx := downloader.NewContext("test_restricted_access.txt", server.URL)
if err := ctx.Download(context.Background()); err == nil || err.Error() != "restricted access (credentials required)" {
err := ctx.Download(context.Background())
if err == nil || err.Error() != "restricted access (credentials required)" {
t.Errorf("expected restricted access error, got %v", err)
}
})