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 <matt.fisher@microsoft.com>
pull/8929/head
Matthew Fisher 4 years ago
parent e72e2935dd
commit 38c964ae81
No known key found for this signature in database
GPG Key ID: 92AA783CBAAE8E3B

@ -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)
}
}

Loading…
Cancel
Save