diff --git a/src/test/java/org/openrewrite/java/migrate/lang/RemoveThreadDestroyMethodTest.java b/src/test/java/org/openrewrite/java/migrate/lang/RemoveThreadDestroyMethodTest.java index 44eaaa8fd8..f317ff1488 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/RemoveThreadDestroyMethodTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/RemoveThreadDestroyMethodTest.java @@ -17,6 +17,7 @@ package org.openrewrite.java.migrate.lang; import org.junit.jupiter.api.Test; +import org.openrewrite.DocumentExample; import org.openrewrite.test.RecipeSpec; import org.openrewrite.test.RewriteTest; @@ -30,6 +31,7 @@ public void defaults(RecipeSpec spec) { spec.recipe(new RemoveThreadDestroyMethod());//.allSources(s -> s.markers(javaVersion(8))); } + @DocumentExample @Test void removeDestroyCall() { //language=java