From 6089ffe989195ed624361431ed135a66747611f3 Mon Sep 17 00:00:00 2001 From: logical-1985516 <107944536+logical-1985516@users.noreply.github.com> Date: Fri, 4 Oct 2024 01:43:38 +0800 Subject: [PATCH] Fix checkStyle violation in test cases names --- src/test/java/reposense/git/GitBlameTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/reposense/git/GitBlameTest.java b/src/test/java/reposense/git/GitBlameTest.java index 8aa6751c0b..5aff478d2e 100644 --- a/src/test/java/reposense/git/GitBlameTest.java +++ b/src/test/java/reposense/git/GitBlameTest.java @@ -97,7 +97,7 @@ public void blameFile_validFile_success() { } @Test - public void blameFile_withPreviousAuthors_validFile_success() { + public void blameFile_validFileWithPreviousAuthors_success() { config.setBranch(TEST_REPO_BLAME_WITH_PREVIOUS_AUTHORS_BRANCH); GitCheckout.checkoutBranch(config.getRepoRoot(), TEST_REPO_BLAME_WITH_PREVIOUS_AUTHORS_BRANCH); createTestIgnoreRevsFile(AUTHOR_TO_IGNORE_BLAME_COMMIT_LIST_07082021); @@ -122,7 +122,7 @@ public void blameFile_nonExistentFile_throwsRunTimeException() { } @Test - public void blameFile_withPreviousAuthors_nonExistentFile_throwsRunTimeException() { + public void blameFile_nonExistentFileWithPreviousAuthors_throwsRunTimeException() { Assertions.assertThrows(RuntimeException.class, () -> GitBlame.blameFile(config.getRepoRoot(), "nonExistentFile", true)); }