From 532812f6f6efafbcec81c0ceadc48f216d7a9028 Mon Sep 17 00:00:00 2001 From: zmstone Date: Wed, 29 May 2024 22:10:34 +0200 Subject: [PATCH] test: assert results --- apps/emqx/test/emqx_schema_tests.erl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/emqx/test/emqx_schema_tests.erl b/apps/emqx/test/emqx_schema_tests.erl index b94815995..8f72c3d48 100644 --- a/apps/emqx/test/emqx_schema_tests.erl +++ b/apps/emqx/test/emqx_schema_tests.erl @@ -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) + ).