From f9e00f41953baa2c401c9be2a5e2395f0fe0a49e Mon Sep 17 00:00:00 2001 From: josedonizetti Date: Tue, 30 Jul 2019 15:22:57 -0300 Subject: [PATCH 1/2] rename TestReadConfig to Test_decode --- pkg/minikube/config/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/config/config_test.go b/pkg/minikube/config/config_test.go index 5384a8b41a9f..f1a3786b161c 100644 --- a/pkg/minikube/config/config_test.go +++ b/pkg/minikube/config/config_test.go @@ -60,7 +60,7 @@ var configTestCases = []configTestCase{ }, } -func TestReadConfig(t *testing.T) { +func Test_decode(t *testing.T) { for _, tt := range configTestCases { r := bytes.NewBufferString(tt.data) config, err := decode(r) From a531baa25a6a1d0a2ec6ddb3fcefc48cd1bd1d3b Mon Sep 17 00:00:00 2001 From: josedonizetti Date: Tue, 30 Jul 2019 15:23:35 -0300 Subject: [PATCH 2/2] rename TestGet to Test_get --- pkg/minikube/config/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/config/config_test.go b/pkg/minikube/config/config_test.go index f1a3786b161c..cd54c68740d6 100644 --- a/pkg/minikube/config/config_test.go +++ b/pkg/minikube/config/config_test.go @@ -70,7 +70,7 @@ func Test_decode(t *testing.T) { } } -func TestGet(t *testing.T) { +func Test_get(t *testing.T) { cfg := `{ "key": "val" }`