core, swarm: typo fixes

This commit is contained in:
ferhat elmas
2017-10-30 01:23:23 +01:00
parent 8d434f6a6f
commit 07e8c177e7
4 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ func initErrHandling() {
//ShowMultipeChoices is used when a user requests a resource in a manifest which results
//in ambiguous results. It returns a HTML page with clickable links of each of the entry
//in the manifest which fits the request URI ambiguity.
//For example, if the user requests bzz:/<hash>/read and that manifest containes entries
//For example, if the user requests bzz:/<hash>/read and that manifest contains entries
//"readme.md" and "readinglist.txt", a HTML page is returned with this two links.
//This only applies if the manifest has no default entry
func ShowMultipleChoices(w http.ResponseWriter, r *http.Request, list api.ManifestList) {

View File

@ -132,7 +132,7 @@ func TestJsonResponse(t *testing.T) {
}
if !isJSON(string(respbody)) {
t.Fatalf("Expected repsonse to be JSON, received invalid JSON: %s", string(respbody))
t.Fatalf("Expected response to be JSON, received invalid JSON: %s", string(respbody))
}
}