aboutsummaryrefslogtreecommitdiff
path: root/src/strings/strings_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings/strings_test.go')
-rw-r--r--src/strings/strings_test.go2
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},