(t *testing.T)
| 126 | } |
| 127 | |
| 128 | func 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 | |
| 138 | func TestInput_Delimited(t *testing.T) { |
| 139 | str := New("Delimited case this_complicated__string@@") |
nothing calls this directly
no test coverage detected
searching dependent graphs…