Skip to content

Commit

Permalink
Fix wrong test definition for tavern_{http,req}
Browse files Browse the repository at this point in the history
  • Loading branch information
lafka committed Aug 28, 2012
1 parent 516c536 commit 2edf130
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tavern_http.erl
Original file line number Diff line number Diff line change
Expand Up @@ -208,4 +208,4 @@ status('Network Authentication Required') -> 511.
accept_catch_all_test() ->
ok.

-endif().
-endif.
4 changes: 2 additions & 2 deletions src/tavern_req.erl
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ match_media_type({T1, T2}, List) ->
{<<"application">>, <<"xml">>}, AcceptList),
[{<<"application">>,<<"xml">>, _}] = match_media_type(
{<<$*>>,<<$*>>}, AcceptList),
[] = match_media_type({<<"abc">>, <<"123">, []}, AcceptList).
-endif().
[] = match_media_type({<<"abc">>, <<"123">>, []}, AcceptList).
-endif.

0 comments on commit 2edf130

Please sign in to comment.