Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
timtebeek and github-actions[bot] authored Apr 25, 2024
1 parent 68e5d3e commit 052602f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package org.openrewrite.java.testing.assertj;

import org.junit.jupiter.api.Test;
import org.openrewrite.DocumentExample;
import org.openrewrite.InMemoryExecutionContext;
import org.openrewrite.java.JavaParser;
import org.openrewrite.test.RecipeSpec;
Expand All @@ -33,6 +34,7 @@ public void defaults(RecipeSpec spec) {
.recipe(new CollapseConsecutiveAssertThatStatements());
}

@DocumentExample
@Test
void collapseIfConsecutiveAssertThatPresent() {
//language=java
Expand Down

0 comments on commit 052602f

Please sign in to comment.