]> Cypherpunks repositories - gostls13.git/commitdiff
bufio: fix typo in comment
authorlgbgbl <lgbgbl@qq.com>
Fri, 5 Nov 2021 04:57:59 +0000 (04:57 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 5 Nov 2021 05:29:10 +0000 (05:29 +0000)
Change-Id: I6074334bc73ee1773fc83d049142ad764e39e5a9
GitHub-Last-Rev: 6a8789318ab132a169a89be807394af55c855ce9
GitHub-Pull-Request: golang/go#49373
Reviewed-on: https://go-review.googlesource.com/c/go/+/361413
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/bufio/bufio_test.go

index 66b3e700531a98a8c876013ba951039ea434c721..4dddfa9085cc4a99aacb5702dfa7f497c82cb48c 100644 (file)
@@ -1520,7 +1520,7 @@ func TestReaderDiscard(t *testing.T) {
                        wantBuffered: 0,
                },
                // Any error from filling shouldn't show up until we
-               // get past the valid bytes. Here we return we return 5 valid bytes at the same time
+               // get past the valid bytes. Here we return 5 valid bytes at the same time
                // as an error, but test that we don't see the error from Discard.
                {
                        name: "fill error, discard less",