From cb338c7092ea41ebc47dbb2695947bf045a4cf52 Mon Sep 17 00:00:00 2001 From: Gong Yongjie Date: Sun, 8 May 2022 18:49:33 -0700 Subject: [PATCH] add unittest for full json/yaml Signed-off-by: Gong Yongjie --- cmd/helm/list_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cmd/helm/list_test.go b/cmd/helm/list_test.go index b3b29356e..7fba67f08 100644 --- a/cmd/helm/list_test.go +++ b/cmd/helm/list_test.go @@ -148,6 +148,16 @@ func TestListCmd(t *testing.T) { cmd: "list", golden: "output/list.txt", rels: releaseFixture, + }, { + name: "list releases in full yaml format", + cmd: "list --output yaml", + golden: "output/list-full-yaml.txt", + rels: releaseFixture, + }, { + name: "list releases in full json format", + cmd: "list --output json", + golden: "output/list-full-json.txt", + rels: releaseFixture, }, { name: "list all releases", cmd: "list --all",