(t *testing.T, want, got string)
| 384 | } |
| 385 | |
| 386 | func assertEqualStrings(t *testing.T, want, got string) { |
| 387 | t.Helper() |
| 388 | diff := cmp.Diff(want, got) |
| 389 | if diff != "" { |
| 390 | t.Error(diff) |
| 391 | } |
| 392 | } |
| 393 | |
| 394 | func assertEqualFiles(t *testing.T, want, got string) bool { |
| 395 | t.Helper() |
no test coverage detected
searching dependent graphs…