use of com.google.startupos.common.Protos.TextDiff in project startup-os by google.
the class TextDifferencerTest method testLeftAndRightAreEqual.
@Test
public void testLeftAndRightAreEqual() {
String text = "aaa";
TextDiff expectedTextDiff = TextDiff.newBuilder().setLeftFileContents(text).setRightFileContents(text).build();
assertEquals(expectedTextDiff, differencer.getTextDiff(text, text, ""));
}
Aggregations