(t *testing.T)
| 311 | } |
| 312 | |
| 313 | func TestSFBugsComparingEmptyLists(t *testing.T) { |
| 314 | groups := NewMatcher(nil, nil).GetGroupedOpCodes(-1) |
| 315 | assertEqual(t, len(groups), 0) |
| 316 | diff := UnifiedDiff{ |
| 317 | FromFile: "Original", |
| 318 | ToFile: "Current", |
| 319 | Context: 3, |
| 320 | } |
| 321 | result, err := GetUnifiedDiffString(diff) |
| 322 | assertEqual(t, err, nil) |
| 323 | assertEqual(t, string(result), "") |
| 324 | } |
| 325 | |
| 326 | func TestOutputFormatRangeFormatUnified(t *testing.T) { |
| 327 | // Per the diff spec at http://www.unix.org/single_unix_specification/ |
nothing calls this directly
no test coverage detected