fix(emqx_logger_jsonfmt): attribute import before function definitions

This commit is contained in:
z8674558 2021-05-25 15:14:43 +09:00
parent 70d2e0e905
commit d61e931d88
1 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,9 @@
-export([format/2]).
-ifdef(TEST).
-include_lib("proper/include/proper.hrl").
-include_lib("eunit/include/eunit.hrl").
-export([report_cb_1/1, report_cb_2/2, report_cb_crash/2]).
-endif.
@ -220,8 +223,6 @@ json_key(Term) ->
end.
-ifdef(TEST).
-include_lib("proper/include/proper.hrl").
-include_lib("eunit/include/eunit.hrl").
no_crash_test_() ->
Opts = [{numtests, 1000}, {to_file, user}],