From c5d3b1e1544ad9ed3099aeb966466981d67bdf69 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Tue, 1 Feb 2022 22:53:52 -0300 Subject: [PATCH] test: test for null cmd in sequentially refs #214 Signed-off-by: Carlos A Becker --- commands_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/commands_test.go b/commands_test.go index 779b2d9253..749c6a910d 100644 --- a/commands_test.go +++ b/commands_test.go @@ -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{