Skip to content

Commit

Permalink
Intialize the cache in every package related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Isty001 committed Mar 23, 2022
1 parent 7ca1b20 commit febea2e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/package/package-dependency-new.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

#include "clib-cache.h"
#include "clib-package.h"
#include "rimraf/rimraf.h"
#include "describe/describe.h"

int main() {
Expand Down
1 change: 1 addition & 0 deletions test/package/package-load-from-manifest.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down
1 change: 1 addition & 0 deletions test/package/package-load-manifest-file.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down
1 change: 1 addition & 0 deletions test/package/package-new-from-slug.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
curl_global_init(CURL_GLOBAL_ALL);
Expand Down
1 change: 1 addition & 0 deletions test/package/package-new.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down
1 change: 1 addition & 0 deletions test/package/package-parse-author.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "clib-package.h"
#include "describe/describe.h"
#include <string.h>
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down
1 change: 1 addition & 0 deletions test/package/package-parse-name.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down
1 change: 1 addition & 0 deletions test/package/package-parse-version.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down
2 changes: 1 addition & 1 deletion test/package/package-url.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#include "clib-cache.h"
#include "clib-package.h"
#include "describe/describe.h"
#include "rimraf/rimraf.h"

int main() {
clib_cache_init(100);
Expand Down

0 comments on commit febea2e

Please sign in to comment.