Skip to content

Commit

Permalink
fix(test): update testcase for loading empty objects
Browse files Browse the repository at this point in the history
  • Loading branch information
terry-xiaoyu committed Sep 13, 2021
1 parent 22a7400 commit a1db88b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/hocon_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ commas_test_() ->
, ?_assertError(_, binary("a={b=1,c=2,,}"))
, ?_assertError(_, binary("a={,b=1,c=2}"))
, ?_assertError(_, binary("a={b=1,,c=2}"))
, ?_assertEqual(binary(""), binary("{}"))
, ?_assertEqual(#{}, binary(""))
, ?_assertEqual(#{}, binary("{}"))
].

trailing_comma_test_() ->
Expand Down

0 comments on commit a1db88b

Please sign in to comment.