Fix include file issue, when using eunit.
This commit is contained in:
parent
30b136ce72
commit
e31e9c4daa
1 changed files with 2 additions and 1 deletions
|
@ -37,9 +37,10 @@
|
||||||
-export_type([config/0, encoder/0, decoder/0, parser/0, internal_state/0]).
|
-export_type([config/0, encoder/0, decoder/0, parser/0, internal_state/0]).
|
||||||
|
|
||||||
|
|
||||||
-include("jsx_config.hrl").
|
|
||||||
-ifdef(TEST).
|
-ifdef(TEST).
|
||||||
-include("jsx_tests.hrl").
|
-include("jsx_tests.hrl").
|
||||||
|
-else.
|
||||||
|
-include("jsx_config.hrl").
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
-type config() :: #config{}.
|
-type config() :: #config{}.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue