Browse Source

Fix a variable shadow issue in the tests

Loïc Hoguin 10 years ago
parent
commit
6e9476d9e3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/cow_http_hd.erl

+ 3 - 3
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).