mjthornton
11/05/2020, 5:39 PM@Test
fun `TOFUBRuleTest() Test`(){
TOFUBRule().lint("$kDOCTestString")
}
gammax
11/05/2020, 6:03 PMlint()
that accepts a Path to an external file: https://github.com/detekt/detekt/blob/edaa3e956d62bac34831a8783f32ba9185cea8e2/detekt-test/src/main/kotlin/io/gitlab/arturbosch/detekt/test/RuleExtensions.kt#L31-L39mjthornton
11/05/2020, 7:21 PM