@Test public void do_not_count_deleted_line() throws IOException { String example = "Index: sample1\n" + "===================================================================\n" + "--- a/sample1\n" + "+++ b/sample1\n" + "@@ -1 +0,0 @@\n" + "-deleted line\n"; printDiff(example); assertThat(underTest.changedLines()).isEmpty(); }
Map<Path, Set<Integer>> changedLines() { return tracker.changedLines(); }
ChangedLinesComputer { Map<Path, Set<Integer>> changedLines() { return tracker.changedLines(); } }
ChangedLinesComputer { Map<Path, Set<Integer>> changedLines() { return tracker.changedLines(); } ChangedLinesComputer(Path rootBaseDir, Set<Path> included); }
ChangedLinesComputer { Map<Path, Set<Integer>> changedLines() { return tracker.changedLines(); } ChangedLinesComputer(Path rootBaseDir, Set<Path> included);  }
ChangedLinesComputer { Map<Path, Set<Integer>> changedLines() { return tracker.changedLines(); } ChangedLinesComputer(Path rootBaseDir, Set<Path> included);   }