Skip to content

Commit

Permalink
tests: init networking
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Sep 24, 2018
1 parent 13c8ef6 commit 7767f77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <sys/stat.h>
#include <vector>
#include "../src/Get.hpp"
#include "../src/Utils.hpp"

#define URL "https://vgmoose.github.io/get/tests/server/"
//#define URL "http://localhost:8000/server/"
Expand Down Expand Up @@ -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<Package*> packages = get->packages;
Expand Down

0 comments on commit 7767f77

Please sign in to comment.