Skip to content

Commit

Permalink
Fix new linting issues post-rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
skelouse committed Oct 7, 2023
1 parent 594ab74 commit 837ae14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion command_test.go
Expand Up @@ -538,7 +538,8 @@ func TestCommand_PreservesSeparatorOnSubcommands(t *testing.T) {
SliceFlagSeparator: ";",
}

app.Run([]string{"app", "foo", "bar", "--my-flag", "1;2;3"})
err := app.Run([]string{"app", "foo", "bar", "--my-flag", "1;2;3"})
expect(t, err, nil)

expect(t, values, []string{"1", "2", "3"})
}
3 changes: 2 additions & 1 deletion flag_test.go
Expand Up @@ -126,7 +126,8 @@ func TestBoolFlagCountFromContext(t *testing.T) {
},
}

app.Run(bct.input)
err := app.Run(bct.input)
expect(t, err, nil)

}
}
Expand Down
2 changes: 1 addition & 1 deletion help_test.go
Expand Up @@ -1330,7 +1330,7 @@ func TestDefaultCompleteWithFlags(t *testing.T) {
tc.a.HideHelp = true
tc.a.Writer = writer
os.Args = tc.argv
tc.a.Run(tc.argv)
_ = tc.a.Run(tc.argv)

written := writer.String()

Expand Down

0 comments on commit 837ae14

Please sign in to comment.