Deprecate one syntax

This commit is contained in:
Clément Fournier
2018-09-04 12:29:58 +02:00
parent 20901cf787
commit 404b6e8d6e

View File

@ -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()