diff options
Diffstat (limited to 'src/bytes/bytes_test.go')
| -rw-r--r-- | src/bytes/bytes_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/bytes_test.go b/src/bytes/bytes_test.go index da16882e82..ead581718a 100644 --- a/src/bytes/bytes_test.go +++ b/src/bytes/bytes_test.go @@ -489,7 +489,7 @@ func TestIndexRune(t *testing.T) { {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", 0xD800, -1}, // Surrogate pair {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", utf8.MaxRune + 1, -1}, - // Test the cutover to to bytealg.Index when it is triggered in + // Test the cutover to bytealg.Index 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}, |
