diff --git a/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt b/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt index a2bd324b06..4d6973b759 100644 --- a/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt +++ b/pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt @@ -79,7 +79,7 @@ fun AbstractFunSpec.parserTest(name: String, parserTest(name, listOf(javaVersion), null, assertions) } - +@Deprecated("Only a prototype") fun junitParserTest(javaVersion: JavaVersion = JavaVersion.Latest, assertions: ParserTestCtx.() -> Unit) = ParserTestCtx(javaVersion).assertions()