Fix include file issue, when using eunit.

This commit is contained in:
Michael Truog 2013-11-25 09:30:04 -08:00
parent 30b136ce72
commit e31e9c4daa

View file

@ -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{}.