Skip to content

Conversation

@jsoref
Copy link

@jsoref jsoref commented Feb 21, 2025

This PR corrects misspellings identified by the check-spelling action

The misspellings have been reported at https://github.com/jsoref/go-multistream/actions/runs/13458098141#summary-37606510208

The action reports that the changes in this PR would make it happy: https://github.com/jsoref/go-multistream/actions/runs/13458098343#summary-37606511331

Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
This package implements a simple stream router for the multistream-select protocol.
The protocol is defined [here](https://github.com/multiformats/multistream-select).
This package implements a simple stream router for the [multistream-select protocol](https://github.com/multiformats/multistream-select).
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't technically a spelling error, but it's easy enough to look for other things at the same time, the rule is:

Do not use (click) here links

For more information, see:

}

func delitmWriteAll(w io.Writer, messages ...[]byte) error {
func delimWriteAll(w io.Writer, messages ...[]byte) error {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is based on it calling delimWrite below...

}

func TestNegotiatThenWriteFail(t *testing.T) {
func TestNegotiateThenWriteFail(t *testing.T) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that changes to go test names are fairly harmless even though they're public functions...

Comment on lines +756 to +757
delimitedProtocolID := make([]byte, buf.Len())
copy(delimitedProtocolID, buf.Bytes())
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rough guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant