未验证 提交 5add11bb 编写于 作者: M Medya Ghazizadeh 提交者: GitHub

Merge pull request #4924 from josedonizetti/rename-config-tests

Improve code readability: rename config unit tests 
......@@ -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)
......@@ -70,7 +70,7 @@ func TestReadConfig(t *testing.T) {
}
}
func TestGet(t *testing.T) {
func Test_get(t *testing.T) {
cfg := `{
"key": "val"
}`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册