Skip to content

Commit 2509a44

Browse files
committed
Fix recipeCsvValidateContent task
1 parent 18a1ba0 commit 2509a44

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/org/openrewrite/java/testing/junit5/AssertTrueInstanceofToAssertInstanceOf.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
public class AssertTrueInstanceofToAssertInstanceOf extends Recipe {
3030
@Override
3131
public String getDisplayName() {
32-
return "assertTrue(x instanceof y) to assertInstanceOf(y.class, x)";
32+
return "`assertTrue(x instanceof y)` to `assertInstanceOf(y.class, x)`";
3333
}
3434

3535
@Override

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
---
1818
type: specs.openrewrite.org/v1beta/recipe
1919
name: org.openrewrite.java.testing.hamcrest.AddHamcrestIfUsed
20-
displayName: Add `org.hamcrest:hamcrest` if it is used.
20+
displayName: Add `org.hamcrest:hamcrest` if it is used
2121
description: JUnit Jupiter does not include hamcrest as a transitive dependency. If needed, add a direct dependency.
2222
tags:
2323
- testing

0 commit comments

Comments
 (0)