Skip to content
Permalink
Browse files
Fix support for R16
  • Loading branch information
davisp committed Dec 14, 2020
1 parent effc3c9 commit 37039ba32e950480715be74751a53339420a6fe1
Showing 1 changed file with 3 additions and 0 deletions.
@@ -18,10 +18,13 @@ trailer_test_() ->
?_assertEqual(Result, jiffy:decode(Data, Opts))
end, Cases)}.

-ifndef(JIFFY_NO_MAPS).

trailer_bignum_test() ->
Opts = [return_maps, return_trailer],
Data = <<"{\"amount\":-50000000000000000000}{}">>,
Obj = #{<<"amount">> => -50000000000000000000},
Expect = {has_trailer, Obj, <<"{}">>},
?assertEqual(Expect, jiffy:decode(Data, Opts)).

-endif.

0 comments on commit 37039ba

Please sign in to comment.