File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java-diff-utils/src/test/java/com/github/difflib/text Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -608,7 +608,7 @@ public void testIssue86WrongInlineDiff() throws IOException {
608
608
609
609
DiffRowGenerator generator = DiffRowGenerator .create ()
610
610
.showInlineDiffs (true )
611
- .mergeOriginalRevised (false )
611
+ .mergeOriginalRevised (true )
612
612
.inlineDiffByWord (true )
613
613
.oldTag (f -> "~" )
614
614
.newTag (f -> "**" )
@@ -617,9 +617,9 @@ public void testIssue86WrongInlineDiff() throws IOException {
617
617
Arrays .asList (original .split ("\n " )),
618
618
Arrays .asList (revised .split ("\n " )));
619
619
620
- for ( DiffRow diff : rows ) {
621
- System . out . println ( diff );
622
- }
620
+ rows . stream ()
621
+ . filter ( item -> item . getTag () != DiffRow . Tag . EQUAL )
622
+ . forEach ( System . out :: println );
623
623
}
624
624
625
625
@ Test
You can’t perform that action at this time.
0 commit comments