Skip to content

Commit

Permalink
Include eunit headers only when necessary
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
  • Loading branch information
lemenkov committed Jan 28, 2011
1 parent 56d914c commit 4d5dfa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/eswf.erl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ swf_redir(Url, Dimensions, Fps, FlashVersion) ->
%%
%% Tests
%%

-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").

compress_test() ->
Expand All @@ -125,3 +125,4 @@ compress_test() ->
SWF = encswf(6, {400, 400}, 31, Tags),
CSWF = compress(SWF),
?assertEqual(decswf(SWF), decswf(CSWF)).
-endif.

0 comments on commit 4d5dfa6

Please sign in to comment.