(t *testing.T)
| 555 | } |
| 556 | |
| 557 | func TestDifferDump(t *testing.T) { |
| 558 | diff := NewDiffer() |
| 559 | out := diff.Dump(PLUS, |
| 560 | stringsToBytes("foo", "bar", "baz", "quux", "qwerty"), |
| 561 | 1, 3) |
| 562 | out2 := bytesToStrings(out...) |
| 563 | if reflect.DeepEqual(out2, []string{"+ bar", "+ baz"}) != true { |
| 564 | t.Fatal("Differ Dump() failure:", out2) |
| 565 | } |
| 566 | } |
| 567 | |
| 568 | func TestDifferPlainReplace(t *testing.T) { |
| 569 | diff := NewDiffer() |
nothing calls this directly
no test coverage detected