From 13b743ba2635f7a3f57f5f8a7445ea243aed04d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 17 Sep 2012 11:41:08 +0200 Subject: Include the eunit file only if TEST is defined --- src/cowboy_multipart.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cowboy_multipart.erl') 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. -- cgit v1.2.3