Skip to content

Commit

Permalink
Fix checkStyle violations
Browse files Browse the repository at this point in the history
  • Loading branch information
logical-1985516 committed Oct 3, 2024
1 parent 68c0773 commit edbc273
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/test/java/reposense/git/GitBlameTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,13 @@ public void blameFile_allValidArgumentsWithPreviousAuthors_success() {

@Test
public void blameFile_nonExistentFile_throwsRunTimeException() {
Assertions.assertThrows(RuntimeException.class, () -> GitBlame.blameFile(config.getRepoRoot(), "nonExistentFile", false));
Assertions.assertThrows(RuntimeException.class, () -> GitBlame.blameFile(config.getRepoRoot(),
"nonExistentFile", false));
}

@Test
public void blameFile_nonExistentFileWithPreviousAuthors_throwsRunTimeException() {
Assertions.assertThrows(RuntimeException.class, () -> GitBlame.blameFile(config.getRepoRoot(), "nonExistentFile", true));
Assertions.assertThrows(RuntimeException.class, () -> GitBlame.blameFile(config.getRepoRoot(),
"nonExistentFile", true));
}
}

0 comments on commit edbc273

Please sign in to comment.