rename TestReadConfig to Test_decode
parent
f2172a8ea8
commit
f9e00f4195
|
@ -60,7 +60,7 @@ var configTestCases = []configTestCase{
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestReadConfig(t *testing.T) {
|
func Test_decode(t *testing.T) {
|
||||||
for _, tt := range configTestCases {
|
for _, tt := range configTestCases {
|
||||||
r := bytes.NewBufferString(tt.data)
|
r := bytes.NewBufferString(tt.data)
|
||||||
config, err := decode(r)
|
config, err := decode(r)
|
||||||
|
|
Loading…
Reference in New Issue