mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-19 04:26:39 +00:00
Fix the function and method names that does not conform to the naming convention
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestApplication_GetComponent(t *testing.T) {
|
||||
func TestApplicationGetComponent(t *testing.T) {
|
||||
ac1 := ApplicationComponent{
|
||||
Name: "ac1",
|
||||
WorkloadType: "type1",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user