fix: correct help test issues
This commit is contained in:
1 parent
aa6a651f1d
commit
1b6c0ce6b6
9 files changed
+7
-70
No files matched your search
@@ -12,6 +12,13 @@ teardown() {
|
||||
global_teardown
|
||||
}
|
||||
|
||||
@test "(trace) trace:help" {
|
||||
run /bin/bash -c "dokku trace:help"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_output_contains "Manage trace mode"
|
||||
}
|
||||
|
||||
@test "(trace) trace:on" {
|
||||
run /bin/bash -c "dokku trace:on"
|
||||
echo "output: $output"
|
||||
@@ -24,20 +31,6 @@ teardown() {
|
||||
assert_success
|
||||
}
|
||||
|
||||
@test "(trace) trace:help" {
|
||||
run /bin/bash -c "dokku trace"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_output_contains "Manage trace mode"
|
||||
help_output="$output"
|
||||
|
||||
run /bin/bash -c "dokku trace:help"
|
||||
echo "output: $output"
|
||||
echo "status: $status"
|
||||
assert_output_contains "Manage trace mode"
|
||||
assert_output "$help_output"
|
||||
}
|
||||
|
||||
@test "(trace) trace on" {
|
||||
run /bin/bash -c "dokku trace on"
|
||||
echo "output: $output"
|
||||
|
||||
Reference in new issue
Block a user