mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
make format
This commit is contained in:
parent
97c2d6a29d
commit
65e16dcac1
@ -1684,9 +1684,7 @@ make_command2(Name, Request, BaseArguments, Options) ->
|
||||
ResultLinks = proplists:get_value(result_links, Options, []),
|
||||
TO = proplists:get_value(table_options, Options, {999999, []}),
|
||||
Style = proplists:get_value(style, Options, normal),
|
||||
#request{us = {RUser, RServer},
|
||||
ip = RIp} =
|
||||
Request,
|
||||
#request{us = {RUser, RServer}, ip = RIp} = Request,
|
||||
CallerInfo =
|
||||
#{usr => {RUser, RServer, <<"">>},
|
||||
ip => RIp,
|
||||
|
@ -141,7 +141,9 @@ http_list_tuple(Config) ->
|
||||
?match(LTB, query(Config, "command_test_list_tuple", #{arg_list => LTB})).
|
||||
|
||||
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">>},
|
||||
#{<<"element1">> => <<"dos">>, <<"element2">> => <<"two">>},
|
||||
#{<<"element1">> => <<"three">>, <<"element2">> => <<"tres">>}]),
|
||||
|
Loading…
Reference in New Issue
Block a user