From 00ec3626e004ecb8b0105e6401d9673bc11e6b26 Mon Sep 17 00:00:00 2001 From: budougumi0617 Date: Mon, 28 Sep 2020 22:55:21 +0900 Subject: [PATCH] :green_heart: fix test --- list_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/list_test.go b/list_test.go index 52c80db..4eba5a6 100644 --- a/list_test.go +++ b/list_test.go @@ -6,7 +6,8 @@ import ( ) func TestListCmd(t *testing.T) { - if err := ListCmd(context.TODO()); err != nil { + cmd := &ListCmd{} + if err := cmd.Run(context.TODO(), []string{}); err != nil { t.Errorf("ListCmd() error = %v", err) } }