25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

make format

This commit is contained in:
Badlop 2024-07-17 19:04:10 +02:00
parent 97c2d6a29d
commit 65e16dcac1
2 changed files with 4 additions and 4 deletions

View File

@ -1684,9 +1684,7 @@ make_command2(Name, Request, BaseArguments, Options) ->
ResultLinks = proplists:get_value(result_links, Options, []), ResultLinks = proplists:get_value(result_links, Options, []),
TO = proplists:get_value(table_options, Options, {999999, []}), TO = proplists:get_value(table_options, Options, {999999, []}),
Style = proplists:get_value(style, Options, normal), Style = proplists:get_value(style, Options, normal),
#request{us = {RUser, RServer}, #request{us = {RUser, RServer}, ip = RIp} = Request,
ip = RIp} =
Request,
CallerInfo = CallerInfo =
#{usr => {RUser, RServer, <<"">>}, #{usr => {RUser, RServer, <<"">>},
ip => RIp, ip => RIp,

View File

@ -141,7 +141,9 @@ http_list_tuple(Config) ->
?match(LTB, query(Config, "command_test_list_tuple", #{arg_list => LTB})). ?match(LTB, query(Config, "command_test_list_tuple", #{arg_list => LTB})).
http_list_tuple_map(Config) -> http_list_tuple_map(Config) ->
LTA = #{<<"one">> => <<"uno">>, <<"dos">> => <<"two">>, <<"three">> => <<"tres">>}, LTA = #{<<"one">> => <<"uno">>,
<<"dos">> => <<"two">>,
<<"three">> => <<"tres">>},
LTB = lists:sort([#{<<"element1">> => <<"one">>, <<"element2">> => <<"uno">>}, LTB = lists:sort([#{<<"element1">> => <<"one">>, <<"element2">> => <<"uno">>},
#{<<"element1">> => <<"dos">>, <<"element2">> => <<"two">>}, #{<<"element1">> => <<"dos">>, <<"element2">> => <<"two">>},
#{<<"element1">> => <<"three">>, <<"element2">> => <<"tres">>}]), #{<<"element1">> => <<"three">>, <<"element2">> => <<"tres">>}]),