chore(emqx_lwm2m): Add TEST compiler condition for test code

This commit is contained in:
Zaiming Shi 2020-11-03 13:43:13 +01:00
parent 8a86593cae
commit ecf69b3464
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@
, encode/1
]).
-ifdef(TEST).
-export([binary_to_hex_string/1]).
-endif.
-include("emqx_lwm2m.hrl").
-define(LOG(Level, Format, Args), logger:Level("LWM2M-TLV: " ++ Format, Args)).