Compile in non-test environment

Otherwise we are getting an unused function warning that's treated
as an error.
This commit is contained in:
Michael Klishin 2017-04-22 01:05:34 +02:00
parent aa9a2a40aa
commit 6bfa455084
1 changed files with 1 additions and 2 deletions

View File

@ -29,9 +29,8 @@
-export([get_connections/0]).
-ifdef(TEST).
%% for tests
-export([purge_connections/0]).
-endif.
-define(L(F, A), log("LDAP " ++ F, A)).
-define(L1(F, A), log(" LDAP " ++ F, A)).