summaryrefslogtreecommitdiff
path: root/deps/rabbitmq_cli/test/ctl/stop_command_test.exs
diff options
context:
space:
mode:
authorAyanda Dube <ayanda.dube@digiterl.com>2022-10-02 18:54:11 +0100
committerAyanda Dube <ayanda.dube@digiterl.com>2022-10-02 18:54:11 +0100
commit4cbbaad2df968450dd5b139c8cac0e21be89b6b3 (patch)
tree3f4747faadcae716d7b24281fde0105876f699d6 /deps/rabbitmq_cli/test/ctl/stop_command_test.exs
parent56ca86a48e7314dc7d7d2574ff197ebfff2867d4 (diff)
downloadrabbitmq-server-git-4cbbaad2df968450dd5b139c8cac0e21be89b6b3.tar.gz
mix format rabbitmq_cli
Diffstat (limited to 'deps/rabbitmq_cli/test/ctl/stop_command_test.exs')
-rw-r--r--deps/rabbitmq_cli/test/ctl/stop_command_test.exs10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/rabbitmq_cli/test/ctl/stop_command_test.exs b/deps/rabbitmq_cli/test/ctl/stop_command_test.exs
index 2f1dca2eae..80594e3aa4 100644
--- a/deps/rabbitmq_cli/test/ctl/stop_command_test.exs
+++ b/deps/rabbitmq_cli/test/ctl/stop_command_test.exs
@@ -4,7 +4,6 @@
##
## Copyright (c) 2007-2020 VMware, Inc. or its affiliates. All rights reserved.
-
defmodule StopCommandTest do
use ExUnit.Case, async: false
import TestHelper
@@ -18,8 +17,7 @@ defmodule StopCommandTest do
end
setup do
- {:ok, opts: %{node: get_rabbit_hostname(),
- idempotent: false}}
+ {:ok, opts: %{node: get_rabbit_hostname(), idempotent: false}}
end
test "validate accepts no arguments", context do
@@ -31,7 +29,8 @@ defmodule StopCommandTest do
end
test "validate: with extra arguments returns an arg count error", context do
- assert @command.validate(["/path/to/pidfile.pid", "extra"], context[:opts]) == {:validation_failure, :too_many_args}
+ assert @command.validate(["/path/to/pidfile.pid", "extra"], context[:opts]) ==
+ {:validation_failure, :too_many_args}
end
# NB: as this commands shuts down the Erlang vm it isn't really practical to test it here
@@ -47,6 +46,7 @@ defmodule StopCommandTest do
end
test "banner", context do
- assert @command.banner([], context[:opts]) =~ ~r/Stopping and halting node #{get_rabbit_hostname()}/
+ assert @command.banner([], context[:opts]) =~
+ ~r/Stopping and halting node #{get_rabbit_hostname()}/
end
end