Skip to content

Commit

Permalink
Make error check better
Browse files Browse the repository at this point in the history
  • Loading branch information
dearchap committed Jun 1, 2024
1 parent 3aa3785 commit 043c05c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ func TestCompletionSubcommand(t *testing.T) {

r.NoError(cmd.Run(buildTestContext(t), []string{"foo", "bar", "xyz", "-", "--generate-shell-completion"}))
r.Containsf(
out.String(), "g",
"Expected output to contain shell name %[1]q", "g",
out.String(), "-g",
"Expected output to contain flag %[1]q", "-g",
)
}

Expand Down

0 comments on commit 043c05c

Please sign in to comment.