- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SplitAfterSeq (0.09 sec)
-
src/bytes/bytes_test.go
t.Errorf(`Split(%q, %q, %d) = %v; want %v`, tt.s, tt.sep, tt.n, result, tt.a) continue } if tt.n < 0 { b := sliceOfString(slices.Collect(SplitAfterSeq([]byte(tt.s), []byte(tt.sep)))) if !slices.Equal(b, tt.a) { t.Errorf(`collect(SplitAfterSeq(%q, %q)) = %v; want %v`, tt.s, tt.sep, b, tt.a) } } if want := tt.a[len(tt.a)-1] + "z"; string(x) != want {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0)