test: assert results

This commit is contained in:
zmstone 2024-05-29 22:10:34 +02:00
parent 9fe29bf5f7
commit 532812f6f6
1 changed files with 4 additions and 2 deletions

View File

@ -938,5 +938,7 @@ unicode_template_test() ->
},
HoconText = <<"root = {template = \"中文\"}"/utf8>>,
{ok, Hocon} = hocon:binary(HoconText),
_ = hocon_tconf:check_plain(Sc, Hocon),
ok.
?assertEqual(
#{<<"root">> => #{<<"template">> => <<"中文"/utf8>>}},
hocon_tconf:check_plain(Sc, Hocon)
).