(t *testing.T)
| 153 | } |
| 154 | |
| 155 | func TestContainsWrapper(t *testing.T) { |
| 156 | t.Parallel() |
| 157 | |
| 158 | require := New(t) |
| 159 | require.Contains("Hello World", "Hello") |
| 160 | |
| 161 | mockT := new(MockT) |
| 162 | mockRequire := New(mockT) |
| 163 | mockRequire.Contains("Hello World", "Salut") |
| 164 | if !mockT.Failed { |
| 165 | t.Error("Check should fail") |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | func TestNotContainsWrapper(t *testing.T) { |
| 170 | t.Parallel() |