From: Evgeniy Khramtsov Date: Mon, 21 Nov 2016 19:04:25 +0000 (+0300) Subject: Fix logging in tests on R17 X-Git-Tag: 16.12-beta1~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0b5c6e9d4166eab221d881974ce912abfcb6bc3;p=ejabberd Fix logging in tests on R17 --- diff --git a/test/suite.erl b/test/suite.erl index e2390c599..3d832dd59 100644 --- a/test/suite.erl +++ b/test/suite.erl @@ -480,7 +480,7 @@ decode_stream_element(NS, El) -> format_element(El) -> case erlang:function_exported(ct, log, 5) of true -> ejabberd_web_admin:pretty_print_xml(El); - false -> io_lib:format(" ~s~n", El) + false -> io_lib:format("~p~n", [El]) end. decode(El, NS, Opts) ->