- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestContainsAny (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/bytes/bytes_test.go
{[]byte("abc"), "xyz", false}, {[]byte("abc"), "xcz", true}, {[]byte("a☺b☻c☹d"), "uvw☻xyz", true}, {[]byte("aRegExp*"), ".(|)*+?^$[]", true}, {[]byte(dots + dots + dots), " ", false}, } func TestContainsAny(t *testing.T) { for _, ct := range ContainsAnyTests { if ContainsAny(ct.b, ct.substr) != ct.expected { t.Errorf("ContainsAny(%s, %s) = %v, want %v", ct.b, ct.substr, !ct.expected, ct.expected) }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)