(t *testing.T)
| 1467 | } |
| 1468 | |
| 1469 | func TestMassiveRuneDiffConversion(t *testing.T) { |
| 1470 | sNew, err := ioutil.ReadFile("../testdata/fixture.go") |
| 1471 | if err != nil { |
| 1472 | panic(err) |
| 1473 | } |
| 1474 | |
| 1475 | dmp := New() |
| 1476 | t1, t2, tt := dmp.DiffLinesToChars("", string(sNew)) |
| 1477 | diffs := dmp.DiffMain(t1, t2, false) |
| 1478 | diffs = dmp.DiffCharsToLines(diffs, tt) |
| 1479 | assert.NotEmpty(t, diffs) |
| 1480 | } |
| 1481 | |
| 1482 | func TestDiffPartialLineIndex(t *testing.T) { |
| 1483 | dmp := New() |
nothing calls this directly
no test coverage detected
searching dependent graphs…