diff options
| author | Oleksandr Redko <oleksandr.red+github@gmail.com> | 2024-08-19 00:07:37 +0300 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-08-19 19:09:04 +0000 |
| commit | d5f7da79870800ac2f7c2a68501f73a83d481d16 (patch) | |
| tree | a55ef726fd71e6a9ebe82ecd42966f8832378515 /src/strings | |
| parent | 433c1d3b4ab41fa4272bd61f8ad2918ccd1e390d (diff) | |
| download | go-d5f7da79870800ac2f7c2a68501f73a83d481d16.tar.xz | |
all: remove duplicated words in comments
Change-Id: Id991ec0826a4e2857f00330b4b7ff2b71907b789
Reviewed-on: https://go-review.googlesource.com/c/go/+/606615
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/strings')
| -rw-r--r-- | src/strings/strings_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/strings_test.go b/src/strings/strings_test.go index 39f5f4e355..8067380664 100644 --- a/src/strings/strings_test.go +++ b/src/strings/strings_test.go @@ -356,7 +356,7 @@ func TestIndexRune(t *testing.T) { {Repeat("𡋀", 64) + "𡌀", '𡌀', 256}, // test cutover {Repeat("𡋀", 64), '𡌀', -1}, - // Test the cutover to to bytealg.IndexString when it is triggered in + // Test the cutover to bytealg.IndexString when it is triggered in // the middle of rune that contains consecutive runs of equal bytes. {"aaaaaKKKK\U000bc104", '\U000bc104', 17}, // cutover: (n + 16) / 8 {"aaaaaKKKK鄄", '鄄', 17}, |
