Skip to content

Commit 1a0dc0b

Browse files
author
Matthew Fisher
committed
fix(deisctl): fixup unit tests
1 parent fbc6b39 commit 1a0dc0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deisctl/deisctl_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func TestHelp(t *testing.T) {
3535
out := ""
3636
for _, args := range allArgs {
3737
out = commandOutput(args)
38-
if !strings.Contains(out, "Usage: deisctl <command> [<args>...] [options]") ||
38+
if !strings.Contains(out, "Usage: deisctl [options] <command> [<args>...]") ||
3939
!strings.Contains(out, "Commands, use \"deisctl help <command>\" to learn more") {
4040
t.Error(out)
4141
}
@@ -45,7 +45,7 @@ func TestHelp(t *testing.T) {
4545
// TestUsage ensures that deisctl prints a short usage string when no arguments were provided.
4646
func TestUsage(t *testing.T) {
4747
out := commandOutput(nil)
48-
if out != "Usage: deisctl <command> [<args>...] [options]\n" {
48+
if out != "Usage: deisctl [options] <command> [<args>...]\n" {
4949
t.Error(out)
5050
}
5151
}

0 commit comments

Comments
 (0)