diff --git a/bittorrent/params_test.go b/bittorrent/params_test.go index 36d0819..86da163 100644 --- a/bittorrent/params_test.go +++ b/bittorrent/params_test.go @@ -62,7 +62,7 @@ func TestParseValidURLData(t *testing.T) { } if !mapArrayEqual(parseVal, parsedQueryObj.params) { - t.Fatalf("Incorrect parse at item %d.\n Expected=%v\n Recieved=%v\n", parseIndex, parseVal, parsedQueryObj.params) + t.Fatalf("Incorrect parse at item %d.\n Expected=%v\n Received=%v\n", parseIndex, parseVal, parsedQueryObj.params) } if parsedQueryObj.path != "/announce" { diff --git a/stopper/stopper.go b/stopper/stopper.go index 2b9bd34..5075636 100644 --- a/stopper/stopper.go +++ b/stopper/stopper.go @@ -24,7 +24,7 @@ type Stopper interface { // The channel can either return one error or be closed. Closing the // channel signals a clean shutdown. // The Stop function should return immediately and perform the actual - // shutdown in a seperate goroutine. + // shutdown in a separate goroutine. Stop() <-chan error }