(t *testing.T)
| 332 | } |
| 333 | |
| 334 | func TestDiff(t *testing.T) { |
| 335 | assert := assert.To(t) |
| 336 | for _, test := range compareTests { |
| 337 | if len(test.diff) > 0 && len(test.diff[0]) == 0 { |
| 338 | continue |
| 339 | } |
| 340 | got := compare.Diff(test.a, test.b, len(test.diff)+2) |
| 341 | assert.For(test.name).ThatSlice(got).DeepEquals(test.diff) |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | func TestDiffLimit(t *testing.T) { |
| 346 | assert := assert.To(t) |
nothing calls this directly
no test coverage detected