Fix the function and method names that does not conform to the naming convention

This commit is contained in:
mengjiao.liu
2021-03-18 20:09:36 +08:00
parent 837d6708e8
commit f4223ebc1a
3 changed files with 3 additions and 3 deletions
@@ -5,7 +5,7 @@ import (
"testing"
)
func TestApplication_GetComponent(t *testing.T) {
func TestApplicationGetComponent(t *testing.T) {
ac1 := ApplicationComponent{
Name: "ac1",
WorkloadType: "type1",
+1 -1
View File
@@ -31,7 +31,7 @@ const Req = `
}
`
func TestHTTPCmd_Run(t *testing.T) {
func TestHTTPCmdRun(t *testing.T) {
s := NewMock()
defer s.Close()
@@ -16,7 +16,7 @@ import (
const mockUrl = "127.0.0.1:4848"
func Test_MakeHTTPRequest(t *testing.T) {
func TestMakeHTTPRequest(t *testing.T) {
ctx := context.TODO()
type mockHTTPParameter struct {
method string