Fix compilation warnings and prepare to be a dependency.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-module(config_test).
|
||||
-compile([export_all]).
|
||||
-compile([export_all,nowarn_export_all]).
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include("src/geef_records.hrl").
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-module(pkt_test).
|
||||
-compile([export_all]).
|
||||
-compile([export_all,nowarn_export_all]).
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include("src/geef_records.hrl").
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-module(ref_test).
|
||||
-compile([export_all]).
|
||||
-compile([export_all,nowarn_export_all]).
|
||||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include("src/geef_records.hrl").
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-module(repo_test).
|
||||
-compile([export_all]).
|
||||
-compile([export_all,nowarn_export_all]).
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
-include("src/geef_records.hrl").
|
||||
|
||||
@@ -117,7 +117,7 @@ commit_tree_test(Repo) ->
|
||||
CommitId = geef_oid:parse("bf968373f95f8fed2a24f9d25ebf06521359c6bc"),
|
||||
{ok, Commit} = geef_commit:lookup(Repo, CommitId),
|
||||
Resp = geef_commit:tree(Commit),
|
||||
[?_assertMatch({ok, _}, Resp)].
|
||||
[?_assertMatch({ok, _, _}, Resp)].
|
||||
|
||||
rm_r(Path) ->
|
||||
case filelib:is_dir(Path) of
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-module(revwalk_test).
|
||||
-compile([export_all]).
|
||||
-compile([export_all,nowarn_export_all]).
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
repo_test_() ->
|
||||
|
||||
Reference in New Issue
Block a user