mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
test: test for null cmd in sequentially
refs #214 Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user