Fix spelling errors in comments and documentation (#7492)
This commit is contained in:
@@ -137,7 +137,7 @@ func (j *Jenkins) newHTTPClient() (*http.Client, error) {
|
||||
}, nil
|
||||
}
|
||||
|
||||
// seperate the client as dependency to use httptest Client for mocking
|
||||
// separate the client as dependency to use httptest Client for mocking
|
||||
func (j *Jenkins) initialize(client *http.Client) error {
|
||||
var err error
|
||||
|
||||
|
||||
@@ -75,8 +75,8 @@ func TestResultCode(t *testing.T) {
|
||||
}
|
||||
|
||||
type mockHandler struct {
|
||||
// responseMap is the path to repsonse interface
|
||||
// we will ouput the serialized response in json when serving http
|
||||
// responseMap is the path to response interface
|
||||
// we will output the serialized response in json when serving http
|
||||
// example '/computer/api/json': *gojenkins.
|
||||
responseMap map[string]interface{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user