-
-
Notifications
You must be signed in to change notification settings - Fork 202
Closed
Description
Expected Behavior
original | new |
---|---|
This is a test |
This is a test for diffutils. |
This is the second line. |
Actual Behavior
original | new |
---|---|
This is a test |
This is a test for diffutils.** |
This is the second line. |
DiffRowGenerator generator = DiffRowGenerator.create()
.showInlineDiffs(true)
.inlineDiffByWord(true)
.oldTag(f -> "~")
.newTag(f -> "**")
.build();
List<DiffRow> rows = generator.generateDiffRows(
Arrays.asList("This is a test senctence."),
Arrays.asList("This is a test for diffutils.", "This is the second line."));
System.out.println("|original|new|");
System.out.println("|--------|---|");
for (DiffRow row : rows) {
System.out.println("|" + row.getOldLine() + "|" + row.getNewLine() + "|");
}
Metadata
Metadata
Assignees
Labels
No labels