mix format

This commit is contained in:
Michael Klishin 2023-07-08 06:32:32 +04:00
parent 5f3baf381d
commit 1a8c5c0e49
No known key found for this signature in database
GPG Key ID: FF4F6501646A9C9A
2 changed files with 3 additions and 2 deletions

View File

@ -628,7 +628,7 @@ defmodule RabbitMQCtl do
## {:fun, fun} - run a custom function to enable distribution.
## custom mode is usefult for commands which should have specific node name.
## Runs code if distribution is successful, or not needed.
@spec maybe_with_distribution(module(), options(), (-> command_result())) :: command_result()
@spec maybe_with_distribution(module(), options(), (() -> command_result())) :: command_result()
defp maybe_with_distribution(command, options, code) do
try do
maybe_with_distribution_without_catch(command, options, code)

View File

@ -34,6 +34,7 @@ defmodule DeactivateDiskFreeSpaceMonitoringCommandTest do
end
test "banner", context do
assert @command.banner([], context[:opts]) =~ ~r/Deactivating free disk space monitoring on node/
assert @command.banner([], context[:opts]) =~
~r/Deactivating free disk space monitoring on node/
end
end