From 7767f7793ad19b33e5982c4836c57132add81673 Mon Sep 17 00:00:00 2001 From: vgmoose Date: Sun, 23 Sep 2018 23:39:52 -0400 Subject: [PATCH] tests: init networking --- tests/tests.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests.cpp b/tests/tests.cpp index c2b83ed..2bad936 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -2,6 +2,7 @@ #include #include #include "../src/Get.hpp" +#include "../src/Utils.hpp" #define URL "https://vgmoose.github.io/get/tests/server/" //#define URL "http://localhost:8000/server/" @@ -43,6 +44,8 @@ bool exists(const char* path) int main() { + init_networking(); + // create a Get object Get* get = new Get("./tests/.get/", URL "a"); vector packages = get->packages;