aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_multipart.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-09-17 11:41:08 +0200
committerLoïc Hoguin <[email protected]>2012-09-17 13:57:29 +0200
commit13b743ba2635f7a3f57f5f8a7445ea243aed04d2 (patch)
treebc82858d7e40316e02452d0929f1a5ae6e8af580 /src/cowboy_multipart.erl
parent183bf7f1439773b62f417a817cebfb194ef28d35 (diff)
downloadcowboy-13b743ba2635f7a3f57f5f8a7445ea243aed04d2.tar.gz
cowboy-13b743ba2635f7a3f57f5f8a7445ea243aed04d2.tar.bz2
cowboy-13b743ba2635f7a3f57f5f8a7445ea243aed04d2.zip
Include the eunit file only if TEST is defined
Diffstat (limited to 'src/cowboy_multipart.erl')
-rw-r--r--src/cowboy_multipart.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_multipart.erl b/src/cowboy_multipart.erl
index 26ea84f..4040073 100644
--- a/src/cowboy_multipart.erl
+++ b/src/cowboy_multipart.erl
@@ -30,7 +30,9 @@
-type end_of_part() :: {end_of_part, cont(more(part_result()))}.
-type disposition() :: {binary(), [{binary(), binary()}]}.
+-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
+-endif.
%% API.