Skip to content

Commit

Permalink
fixes java-diff-utils#114 - decompressing deltas
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Jan 16, 2021
1 parent 7e8d286 commit 507ced4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public void testIssue86WrongInlineDiff() throws IOException {

DiffRowGenerator generator = DiffRowGenerator.create()
.showInlineDiffs(true)
.mergeOriginalRevised(false)
.mergeOriginalRevised(true)
.inlineDiffByWord(true)
.oldTag(f -> "~")
.newTag(f -> "**")
Expand All @@ -617,9 +617,9 @@ public void testIssue86WrongInlineDiff() throws IOException {
Arrays.asList(original.split("\n")),
Arrays.asList(revised.split("\n")));

for (DiffRow diff : rows) {
System.out.println(diff);
}
rows.stream()
.filter(item -> item.getTag() != DiffRow.Tag.EQUAL)
.forEach(System.out::println);
}

@Test
Expand Down

0 comments on commit 507ced4

Please sign in to comment.