Skip to content

Commit

Permalink
rebar3_lint: fix for operator_spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kivra-pauoli committed Aug 29, 2024
1 parent b9a7b40 commit fbc814e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/prop_id_token_sign.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ prop_test() ->
{History, State, Result} = run_commands(?MODULE, Cmds),
id_token_sign:stop(),
?WHENFAIL(io:format("History: ~p\nState: ~p\nResult: ~p\n",
[History,State,Result]),
[History, State, Result]),
aggregate(command_names(Cmds), Result =:= ok))
end).

Expand Down
10 changes: 5 additions & 5 deletions test/prop_pubkeys_storage.erl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ prop_test() ->
{History, State, Result} = run_commands(?MODULE, Cmds),
id_token_pubkeys_storage:stop(),
?WHENFAIL(io:format("History: ~p\nState: ~p\nResult: ~p\n",
[History,State,Result]),
[History, State, Result]),
aggregate(command_names(Cmds), Result =:= ok))
end).

Expand All @@ -37,9 +37,9 @@ initial_state() ->
%% @doc List of possible commands to run against the system
command(_State) ->
frequency([{1, {call, id_token_pubkeys_storage, get_all, []}},
{1, {call, id_token_pubkeys_storage, get,[kid()]}},
{3, {call, id_token_pubkeys_storage, put,[key()]}},
{1, {call, id_token_pubkeys_storage, delete,[kid()]}}
{1, {call, id_token_pubkeys_storage, get, [kid()]}},
{3, {call, id_token_pubkeys_storage, put, [key()]}},
{1, {call, id_token_pubkeys_storage, delete, [kid()]}}
]).

%% @doc Determines whether a command should be valid under the
Expand Down Expand Up @@ -84,7 +84,7 @@ key() ->
end).

kid() ->
?LET(Int, integer(1,10), integer_to_binary(Int)).
?LET(Int, integer(1, 10), integer_to_binary(Int)).

%%%_* Emacs ============================================================
%%% Local Variables:
Expand Down

0 comments on commit fbc814e

Please sign in to comment.