aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_http_hd.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-12-24 18:56:56 +0200
committerLoïc Hoguin <[email protected]>2014-12-24 19:43:48 +0200
commit6e9476d9e37f8c1e9925f80cd267e312f09b48aa (patch)
tree311212d2cd99813f030d3cbcec1e7a6c42d1dfd9 /src/cow_http_hd.erl
parentf6aad0fa24d9cc7e4a1452c56ce18214f1e3df15 (diff)
downloadcowlib-6e9476d9e37f8c1e9925f80cd267e312f09b48aa.tar.gz
cowlib-6e9476d9e37f8c1e9925f80cd267e312f09b48aa.tar.bz2
cowlib-6e9476d9e37f8c1e9925f80cd267e312f09b48aa.zip
Fix a variable shadow issue in the tests
Diffstat (limited to 'src/cow_http_hd.erl')
-rw-r--r--src/cow_http_hd.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cow_http_hd.erl b/src/cow_http_hd.erl
index ecab1b4..2daff5f 100644
--- a/src/cow_http_hd.erl
+++ b/src/cow_http_hd.erl
@@ -806,13 +806,13 @@ prop_parse_cache_control() ->
begin
ResL = parse_cache_control(CacheControl),
CheckedL = [begin
- ExpectedC = case C of
+ ExpectedCc = case Cc of
{fields, K, V} -> {?INLINE_LOWERCASE_BC(K), [?INLINE_LOWERCASE_BC(F) || F <- V]};
{K, V} -> {?INLINE_LOWERCASE_BC(K), unquote(V)};
K -> ?INLINE_LOWERCASE_BC(K)
end,
- ExpectedC =:= ResC
- end || {C, ResC} <- lists:zip(L, ResL)],
+ ExpectedCc =:= ResCc
+ end || {Cc, ResCc} <- lists:zip(L, ResL)],
[true] =:= lists:usort(CheckedL)
end).