- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestRunes (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/bytes/bytes_test.go
{"abc", []rune{97, 98, 99}, false}, {"\u65e5\u672c\u8a9e", []rune{26085, 26412, 35486}, false}, {"ab\x80c", []rune{97, 98, 0xFFFD, 99}, true}, {"ab\xc0c", []rune{97, 98, 0xFFFD, 99}, true}, } func TestRunes(t *testing.T) { for _, tt := range RunesTests { tin := []byte(tt.in) a := Runes(tin) if !slices.Equal(a, tt.out) { t.Errorf("Runes(%q) = %v; want %v", tin, a, tt.out) continue }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)