Skip to content

Commit

Permalink
test: test for null cmd in sequentially
Browse files Browse the repository at this point in the history
refs #214

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Feb 2, 2022
1 parent 7d18632 commit c5d3b1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands_test.go
Expand Up @@ -44,6 +44,11 @@ func TestSequentially(t *testing.T) {
cmds: []Cmd{nilReturnCmd, nilReturnCmd},
expected: nil,
},
{
name: "null cmds",
cmds: []Cmd{nil, nil},
expected: nil,
},
{
name: "one error",
cmds: []Cmd{
Expand Down

0 comments on commit c5d3b1e

Please sign in to comment.