(t *testing.T)
| 263 | } |
| 264 | |
| 265 | func TestSFBugsComparingEmptyLists(t *testing.T) { |
| 266 | groups := NewMatcher(nil, nil).GetGroupedOpCodes(-1) |
| 267 | assertEqual(t, len(groups), 0) |
| 268 | diff := UnifiedDiff{ |
| 269 | FromFile: "Original", |
| 270 | ToFile: "Current", |
| 271 | Context: 3, |
| 272 | } |
| 273 | result, err := GetUnifiedDiffString(diff) |
| 274 | assertEqual(t, err, nil) |
| 275 | assertEqual(t, result, "") |
| 276 | } |
| 277 | |
| 278 | func TestOutputFormatRangeFormatUnified(t *testing.T) { |
| 279 | // Per the diff spec at http://www.unix.org/single_unix_specification/ |
nothing calls this directly
no test coverage detected
searching dependent graphs…