- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for invalidRule (0.07 sec)
-
src/bytes/bytes_test.go
if string(m) != expect { t.Errorf("drop: expected %q got %q", expect, m) } // 6. Invalid rune invalidRune := func(r rune) rune { return utf8.MaxRune + 1 } m = Map(invalidRune, []byte("x")) expect = "\uFFFD" if string(m) != expect { t.Errorf("invalidRune: expected %q got %q", expect, m) } } func TestToUpper(t *testing.T) { runStringTests(t, ToUpper, "ToUpper", upperTests) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0)