- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for trimSuffix (0.21 sec)
-
src/bytes/bytes_test.go
{"TrimPrefix", []byte{}, "", []byte{}}, {"TrimPrefix", []byte{'a'}, "a", []byte{}}, {"TrimPrefix", []byte("☺"), "☺", []byte{}}, {"TrimSuffix", nil, "", nil}, {"TrimSuffix", []byte{}, "", []byte{}}, {"TrimSuffix", []byte{'a'}, "a", []byte{}}, {"TrimSuffix", []byte("☺"), "☺", []byte{}}, } func TestTrim(t *testing.T) { toFn := func(name string) (func([]byte, string) []byte, func([]byte, []byte) []byte) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0)