Skip to content

Commit cb8568a

Browse files
Update recipe documentation examples (#30)
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=ODQ2MGExMTUtNDg0My00N2EwLTgzMGMtNGE1NGExMTBmZDkw Co-authored-by: Moderne <team@moderne.io>
1 parent 830d130 commit cb8568a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/resources/META-INF/rewrite/examples.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
type: specs.openrewrite.org/v1beta/example
1616
recipeName: org.openrewrite.cucumber.jvm.CucumberAnnotationToSuite
1717
examples:
18-
- description: ''
18+
- description: '`CucumberAnnotationToSuiteTest#shouldReplaceCucumberAnnotationWithSuiteWithSelectedClasspathResource`'
1919
sources:
2020
- before: |
2121
package com.example.app;
@@ -40,7 +40,7 @@ examples:
4040
type: specs.openrewrite.org/v1beta/example
4141
recipeName: org.openrewrite.cucumber.jvm.CucumberJava8ToJava
4242
examples:
43-
- description: ''
43+
- description: '`CucumberJava8ToCucumberJavaTest#cucumberJava8HooksAndSteps`'
4444
sources:
4545
- before: |-
4646
package com.example.app;
@@ -117,7 +117,7 @@ examples:
117117
type: specs.openrewrite.org/v1beta/example
118118
recipeName: org.openrewrite.cucumber.jvm.DropSummaryPrinter
119119
examples:
120-
- description: ''
120+
- description: '`DropSummaryPrinterTest#replaceSummaryPrinterWithPlugin`'
121121
sources:
122122
- before: |-
123123
package com.example.app;
@@ -138,7 +138,7 @@ examples:
138138
type: specs.openrewrite.org/v1beta/example
139139
recipeName: org.openrewrite.cucumber.jvm.RegexToCucumberExpression
140140
examples:
141-
- description: ''
141+
- description: '`RegexToCucumberExpressionTest#regexToCucumberExpression`'
142142
sources:
143143
- before: |
144144
package com.example.app;

0 commit comments

Comments
 (0)