chore(emqx_lwm2m): Add TEST compiler condition for test code
This commit is contained in:
parent
8a86593cae
commit
ecf69b3464
|
@ -20,6 +20,11 @@
|
||||||
, encode/1
|
, encode/1
|
||||||
]).
|
]).
|
||||||
|
|
||||||
|
|
||||||
|
-ifdef(TEST).
|
||||||
|
-export([binary_to_hex_string/1]).
|
||||||
|
-endif.
|
||||||
|
|
||||||
-include("emqx_lwm2m.hrl").
|
-include("emqx_lwm2m.hrl").
|
||||||
|
|
||||||
-define(LOG(Level, Format, Args), logger:Level("LWM2M-TLV: " ++ Format, Args)).
|
-define(LOG(Level, Format, Args), logger:Level("LWM2M-TLV: " ++ Format, Args)).
|
||||||
|
|
Loading…
Reference in New Issue