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 {
608608
609609 DiffRowGenerator generator = DiffRowGenerator .create ()
610610 .showInlineDiffs (true )
611- .mergeOriginalRevised (false )
611+ .mergeOriginalRevised (true )
612612 .inlineDiffByWord (true )
613613 .oldTag (f -> "~" )
614614 .newTag (f -> "**" )
@@ -617,9 +617,9 @@ public void testIssue86WrongInlineDiff() throws IOException {
617617 Arrays .asList (original .split ("\n " )),
618618 Arrays .asList (revised .split ("\n " )));
619619
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 );
623623 }
624624
625625 @ Test
You can’t perform that action at this time.
0 commit comments