chore: typos fixes by cosmos-sdk bot (#18689)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr> Co-authored-by: marbar3778 <marbar3778@yahoo.com>
This commit is contained in:
co-authored by
github-merge-queue
Julien Robert
marbar3778
parent
39865d852f
commit
8f0d5b15f0
@@ -43,7 +43,7 @@ func TestReadLineFromBuf(t *testing.T) {
|
||||
require.ErrorIs(t, err, io.EOF)
|
||||
})
|
||||
|
||||
t.Run("it returns the error if it's not EOF regardles if it read something or not", func(t *testing.T) {
|
||||
t.Run("it returns the error if it's not EOF regardless if it read something or not", func(t *testing.T) {
|
||||
expectedErr := errors.New("oh no")
|
||||
fr.fnc = func(p []byte) (int, error) {
|
||||
return copy(p, []byte("hello")), expectedErr
|
||||
|
||||
Reference in New Issue
Block a user