diff options
-rw-r--r-- | src/cow_hpack.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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. |