MCPcopy Create free account
hub / github.com/gobeam/stringy / TestInput_ContainsAll

Function TestInput_ContainsAll

stringy_test.go:128–136  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

126}
127
128func TestInput_ContainsAll(t *testing.T) {
129 contains := New("hello mam how are you??")
130 if val := contains.ContainsAll("mam", "?"); !val {
131 t.Errorf("Expected value to be true but got false")
132 }
133 if val := contains.ContainsAll("non existent"); val {
134 t.Errorf("Expected value to be false but got true")
135 }
136}
137
138func TestInput_Delimited(t *testing.T) {
139 str := New("Delimited case this_complicated__string@@")

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
ContainsAllMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…