Fix typos catched via misspell (thanks Go Report Card!)

This commit is contained in:
pancho horrillo
2019-11-19 14:06:54 +01:00
parent bc917ff166
commit 92fbb72735
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -885,7 +885,7 @@ func TestGetRequestFileName404sWhenFileDoesntExist(t *testing.T) {
}
}
// TODO: Discuss which error is appropiate when the form doesn't exists
// TODO: Discuss which error is appropriate when the form doesn't exists
func TestGetRequestFileName404sWhenFormDoesntExist(t *testing.T) {
h := model.Handler{
Request: httptest.NewRequest("POST", "/", nil),
@@ -964,7 +964,7 @@ func TestGetRequestFileContent404sWhenFileDoesntExist(t *testing.T) {
}
}
// TODO: Discuss which error is appropiate when the form doesn't exists
// TODO: Discuss which error is appropriate when the form doesn't exists
func TestGetRequestFileContent404sWhenFormDoesntExist(t *testing.T) {
h := model.Handler{
Request: httptest.NewRequest("POST", "/", nil),
+1 -1
View File
@@ -89,7 +89,7 @@ func TestSpawnWritesToStdout(t *testing.T) {
jldata := decodeJailLover(out.Bytes())
if jldata.Cmdline[0] != locateJailLover() {
t.Error("Ouput does not match jaillover's")
t.Error("Output does not match jaillover's")
}
}
+2 -2
View File
@@ -150,7 +150,7 @@ For instance, given this request:
HTTP/1.1 GET /routes
```
an appropiate reponse may look like this:
an appropriate reponse may look like this:
```http
200 OK
Content-Type: application/json
@@ -507,7 +507,7 @@ following resource paths:
- Acceptable Value: Any string of bytes.
- Default Value: N/A
- Comment: For media types other than `application/octet-stream` you should
specify the appropiate `Content-Type` header.
specify the appropriate `Content-Type` header.
**Note**: Parameters under `request` are read-only and, conversely, parameters under
`response` are write-only.