diff options
Diffstat (limited to 'src/cow_http_hd.erl')
-rw-r--r-- | src/cow_http_hd.erl | 6 |
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). |