test: test for null cmd in sequentially

refs #214

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos A Becker
2022-02-01 22:53:52 -03:00
parent 7d18632ca5
commit c5d3b1e154

View File

@@ -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{