aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_static.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-04-26 15:13:24 +0200
committerLoïc Hoguin <[email protected]>2013-04-26 15:13:24 +0200
commit9ccfbb66ef24c84f34b3248057fe461f751389d5 (patch)
treed42fbfacb7dfc05e4bdbfcc100e60452890e7e78 /src/cowboy_static.erl
parent5291c3eb0ac421994fb3046fc0fcd603b4ea2a64 (diff)
parent3bf5b46786136a004b4085098c9b46cd47295774 (diff)
downloadcowboy-9ccfbb66ef24c84f34b3248057fe461f751389d5.tar.gz
cowboy-9ccfbb66ef24c84f34b3248057fe461f751389d5.tar.bz2
cowboy-9ccfbb66ef24c84f34b3248057fe461f751389d5.zip
Merge branch 'remove_asserts' of git://github.com/Egobrain/cowboy
Diffstat (limited to 'src/cowboy_static.erl')
-rw-r--r--src/cowboy_static.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cowboy_static.erl b/src/cowboy_static.erl
index ae0f9e6..fd5654e 100644
--- a/src/cowboy_static.erl
+++ b/src/cowboy_static.erl
@@ -422,8 +422,6 @@ attr_etag_function(Args, Attrs) ->
{strong, list_to_binary([H|T])}.
-ifdef(TEST).
--include_lib("eunit/include/eunit.hrl").
--define(_eq(E, I), ?_assertEqual(E, I)).
directory_path_test_() ->
PL = fun(D) -> length(filename:split(directory_path(D))) end,