(t *testing.T)
| 273 | } |
| 274 | |
| 275 | func TestSFBugsComparingEmptyLists(t *testing.T) { |
| 276 | groups := NewMatcher(nil, nil).GetGroupedOpCodes(-1) |
| 277 | assertEqual(t, len(groups), 0) |
| 278 | diff := LineDiffParams{ |
| 279 | FromFile: "Original", |
| 280 | ToFile: "Current", |
| 281 | Context: 3, |
| 282 | } |
| 283 | result, err := GetUnifiedDiffString(diff) |
| 284 | assertEqual(t, err, nil) |
| 285 | assertEqual(t, result, "") |
| 286 | } |
| 287 | |
| 288 | func TestOutputFormatRangeFormatUnified(t *testing.T) { |
| 289 | // Per the diff spec at http://www.unix.org/single_unix_specification/ |
nothing calls this directly
no test coverage detected