Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork209
Closed
Description
Expected Behavior
| original | new |
|---|---|
| This is a test | This is a testfor diffutils. |
| This is the second line. |
Actual Behavior
| original | new |
|---|---|
| This is a test | This is a testfor 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