From 38c964ae8134a65c1ffda13e37ac8e5573bd3de3 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Wed, 21 Oct 2020 08:35:30 -0700 Subject: [PATCH] fix(test): display error message This fixes the error output to display the error's default value (the error message) rather than Go's internal representation of its value. Signed-off-by: Matthew Fisher --- cmd/helm/repo_update_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/repo_update_test.go b/cmd/helm/repo_update_test.go index 4b16a1ea7..f4936b367 100644 --- a/cmd/helm/repo_update_test.go +++ b/cmd/helm/repo_update_test.go @@ -67,7 +67,7 @@ func TestUpdateCustomCacheCmd(t *testing.T) { t.Fatal(err) } if _, err := os.Stat(filepath.Join(cachePath, "charts-index.yaml")); err != nil { - t.Fatalf("error finding created index file in custom cache: %#v", err) + t.Fatalf("error finding created index file in custom cache: %v", err) } }