瀏覽代碼

Fix support for Erlang 17.x

pull/184/head
Paul J. Davis 6 年之前
父節點
當前提交
37b41dcdc5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      test/jiffy_04_string_tests.erl

+ 1
- 1
test/jiffy_04_string_tests.erl 查看文件

@ -11,7 +11,7 @@
latin1_atom_test_() ->
Key = binary_to_atom(<<228>>, latin1), %% `ä`
Expected = <<"{\"", 195, 164, "\":\"bar\"}">>,
?_assertEqual(Expected, enc(#{ Key => <<"bar">> })).
?_assertEqual(Expected, enc(maps:put(Key, <<"bar">>, #{}))).
string_success_test_() ->

Loading…
取消
儲存