(t *testing.T)
| 1495 | } |
| 1496 | |
| 1497 | func TestMassiveRuneDiffConversion(t *testing.T) { |
| 1498 | sNew, err := ioutil.ReadFile("../testdata/fixture.go") |
| 1499 | if err != nil { |
| 1500 | panic(err) |
| 1501 | } |
| 1502 | |
| 1503 | dmp := New() |
| 1504 | t1, t2, tt := dmp.DiffLinesToChars("", string(sNew)) |
| 1505 | diffs := dmp.DiffMain(t1, t2, false) |
| 1506 | diffs = dmp.DiffCharsToLines(diffs, tt) |
| 1507 | assert.NotEmpty(t, diffs) |
| 1508 | } |
| 1509 | |
| 1510 | func TestDiffPartialLineIndex(t *testing.T) { |
| 1511 | dmp := New() |
nothing calls this directly
no test coverage detected