aboutsummaryrefslogtreecommitdiff
path: root/tests/test_download.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-02-12 15:18:32 -0500
committerGitHub <noreply@github.com>2026-02-12 15:18:32 -0500
commitd6b60205974136969212a2e415dadd773b471bc0 (patch)
tree4889f9b9b2767456d0375dd5a262259ad732f8c6 /tests/test_download.c
parent7ae2f824eb52b4294465a1430836ecce73419c02 (diff)
parent2cd2d2c47593941f002ed45f44f0e0c1072738d7 (diff)
downloadstasis-d6b60205974136969212a2e415dadd773b471bc0.tar.gz
Merge pull request #125 from jhunkeler/retry-download
Add a retry loop to download()
Diffstat (limited to 'tests/test_download.c')
-rw-r--r--tests/test_download.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_download.c b/tests/test_download.c
index 714e614..31e9792 100644
--- a/tests/test_download.c
+++ b/tests/test_download.c
@@ -33,7 +33,6 @@ void test_download() {
}
STASIS_ASSERT(http_code == tc[i].http_code, "expecting non-error HTTP code");
- //char **data = file_readlines(filename, 0, 100, NULL);
char *data = stasis_testing_read_ascii(filename);
if (http_code >= 0) {
STASIS_ASSERT(data != NULL, "data should not be null");