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_http.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cowboy_http.erl') diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index 7ad3d2f..aea71c1 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -80,7 +80,9 @@ -export_type([headers/0]). -export_type([status/0]). +-ifdef(TEST). -include_lib("eunit/include/eunit.hrl"). +-endif. %% Parsing. -- cgit v1.2.3