Skip to content

Commit

Permalink
Merge pull request #4924 from josedonizetti/rename-config-tests
Browse files Browse the repository at this point in the history
Improve code readability: rename config unit tests
  • Loading branch information
medyagh authored Jul 30, 2019
2 parents ec611a5 + a531baa commit 5add11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/minikube/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -70,7 +70,7 @@ func TestReadConfig(t *testing.T) {
}
}

func TestGet(t *testing.T) {
func Test_get(t *testing.T) {
cfg := `{
"key": "val"
}`
Expand Down

0 comments on commit 5add11b

Please sign in to comment.