Skip to content

Commit 1780b2c

Browse files
committed
Move global flags before subcommands
1 parent 3d2203b commit 1780b2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/integration/admin_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ func TestAdminClearEmail(t *testing.T) {
3636
"./bin/admin",
3737
"-config", config,
3838
"-dry-run=false",
39+
"-debug-addr", ":8014",
3940
"update-email",
4041
"-address", deleteMe,
4142
"-clear",
42-
"-debug-addr", ":8014",
4343
)
4444
output, err := cmd.CombinedOutput()
4545
test.AssertNotError(t, err, fmt.Sprintf("clearing email via admin tool (%s): %s", cmd, string(output)))

test/integration/cert_storage_failed_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ func TestIssuanceCertStorageFailed(t *testing.T) {
152152
"./bin/admin",
153153
"-config", config,
154154
"-dry-run=false",
155+
"-debug-addr", ":18014",
155156
"revoke-cert",
156157
"-serial", core.SerialToString(cert.SerialNumber),
157158
"-reason", "unspecified",
158-
"-debug-addr", ":18014",
159159
).CombinedOutput()
160160
test.AssertNotError(t, err, fmt.Sprintf("revoking via admin-revoker: %s", string(output)))
161161

0 commit comments

Comments
 (0)