Skip to content

Commit

Permalink
refactor: Remove test prefix from JUnit 5 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and app committed Feb 5, 2024
1 parent b71b4e8 commit 6dfe030
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public void defaults(RecipeSpec spec) {

@DocumentExample
@Test
void testJUnit5() {
void jUnit5() {
//language=java
rewriteRun(
java(
Expand Down Expand Up @@ -73,7 +73,7 @@ void testJUnit5() {
}

@Test
void testJUnit5WithReason() {
void jUnit5WithReason() {
//language=java
rewriteRun(
java(
Expand Down Expand Up @@ -111,7 +111,7 @@ void testJUnit5() {
}

@Test
void testJUnit4() {
void jUnit4() {
//language=java
rewriteRun(
java(
Expand Down Expand Up @@ -149,7 +149,7 @@ void testJUnit5() {
}

@Test
void testJUnit4WithReason() {
void jUnit4WithReason() {
//language=java
rewriteRun(
java(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void testWithCurrency() {

@DocumentExample
@Test
void testThatPowerMockitoMockStaticIsReplacedInTestMethod() {
void thatPowerMockitoMockStaticIsReplacedInTestMethod() {
//language=java
rewriteRun(
java(
Expand Down Expand Up @@ -299,7 +299,7 @@ void testWithCalendar() {
}

@Test
void testThatPowerMockitoMockStaticIsReplacedInSetUpMethod() {
void thatPowerMockitoMockStaticIsReplacedInSetUpMethod() {
//language=java
rewriteRun(
java(
Expand Down Expand Up @@ -374,7 +374,7 @@ void testWithCalendar() {
}

@Test
void testThatPowerMockitoSpyIsReplaced() {
void thatPowerMockitoSpyIsReplaced() {
//language=java
rewriteRun(
java(
Expand Down

0 comments on commit 6dfe030

Please sign in to comment.