From c5021ead32a775c055a78a583c4e8bd756dbaaa0 Mon Sep 17 00:00:00 2001 From: Alonyb Date: Sun, 28 Jun 2020 11:14:23 -0500 Subject: [PATCH] add err validation --- cmd/minikube/cmd/config/set_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/minikube/cmd/config/set_test.go b/cmd/minikube/cmd/config/set_test.go index e754e74f97..5d73523fff 100644 --- a/cmd/minikube/cmd/config/set_test.go +++ b/cmd/minikube/cmd/config/set_test.go @@ -83,6 +83,9 @@ func createTestConfig(t *testing.T) { } t.Cleanup(func() { - os.RemoveAll(td) + err := os.RemoveAll(td) + if err != nil { + t.Errorf("failed to clean up temp folder %q", td) + } }) }