We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8d286 commit 507ced4Copy full SHA for 507ced4
java-diff-utils/src/test/java/com/github/difflib/text/DiffRowGeneratorTest.java
@@ -608,7 +608,7 @@ public void testIssue86WrongInlineDiff() throws IOException {
608
609
DiffRowGenerator generator = DiffRowGenerator.create()
610
.showInlineDiffs(true)
611
- .mergeOriginalRevised(false)
+ .mergeOriginalRevised(true)
612
.inlineDiffByWord(true)
613
.oldTag(f -> "~")
614
.newTag(f -> "**")
@@ -617,9 +617,9 @@ public void testIssue86WrongInlineDiff() throws IOException {
617
Arrays.asList(original.split("\n")),
618
Arrays.asList(revised.split("\n")));
619
620
- for (DiffRow diff : rows) {
621
- System.out.println(diff);
622
- }
+ rows.stream()
+ .filter(item -> item.getTag() != DiffRow.Tag.EQUAL)
+ .forEach(System.out::println);
623
}
624
625
@Test
0 commit comments