From f14445f046f0d02284ade693e303114dc8214ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 26 Dec 2019 19:10:40 +0100 Subject: Fix Proper tests following cow_hpack changes --- src/cow_hpack.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cow_hpack.erl b/src/cow_hpack.erl index 9423e1a..669bea7 100644 --- a/src/cow_hpack.erl +++ b/src/cow_hpack.erl @@ -1358,11 +1358,11 @@ table_update_size(MaxSize, State=#state{dyn_table=DynTable}) -> -ifdef(TEST). prop_str_raw() -> ?FORALL(Str, binary(), begin - {Str, <<>>} =:= dec_str(iolist_to_binary(enc_str(Str, #{huffman => false}))) + {Str, <<>>} =:= dec_str(iolist_to_binary(enc_str(Str, no_huffman))) end). prop_str_huffman() -> ?FORALL(Str, binary(), begin - {Str, <<>>} =:= dec_str(iolist_to_binary(enc_str(Str, #{huffman => true}))) + {Str, <<>>} =:= dec_str(iolist_to_binary(enc_str(Str, huffman))) end). -endif. -- cgit v1.2.3