Skip to content

Commit

Permalink
Add missing DocumentExample annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Jun 13, 2024
1 parent 8fd4694 commit ec59e00
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,21 @@
package org.openrewrite.java.recipes;

import org.junit.jupiter.api.Test;
import org.openrewrite.DocumentExample;
import org.openrewrite.test.RecipeSpec;
import org.openrewrite.test.RewriteTest;

import static org.openrewrite.java.Assertions.java;

public class BlankLinesAroundFieldsWithAnnotationsTest implements RewriteTest {
class BlankLinesAroundFieldsWithAnnotationsTest implements RewriteTest {

@Override
public void defaults(RecipeSpec spec) {
spec.recipe(new BlankLinesAroundFieldsWithAnnotations());
}

@Test
@DocumentExample
void spaceBetweenFields() {
rewriteRun(
java(
Expand Down

0 comments on commit ec59e00

Please sign in to comment.