(t *testing.T, label string, hunk, want BlameHunk)
| 63 | } |
| 64 | |
| 65 | func checkHunk(t *testing.T, label string, hunk, want BlameHunk) { |
| 66 | hunk.FinalSignature = nil |
| 67 | want.FinalSignature = nil |
| 68 | hunk.OrigSignature = nil |
| 69 | want.OrigSignature = nil |
| 70 | if !reflect.DeepEqual(hunk, want) { |
| 71 | t.Fatalf("%s: got hunk %+v, want %+v", label, hunk, want) |
| 72 | } |
| 73 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…