mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Removed asserts from unit tests
This commit is contained in:
parent
61b3157ad1
commit
3bf5b46786
8 changed files with 64 additions and 82 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue