1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Simplify.

This commit is contained in:
Cedric Beust 2016-01-12 02:55:38 +04:00
parent f004358727
commit 24bd2c6299

View file

@ -34,7 +34,7 @@ class TestConfig(val project: Project) {
@Directive
fun Project.test(init: TestConfig.() -> Unit) = let { project ->
with(this.testConfigs) {
with(testConfigs) {
clear()
add(TestConfig(project).apply { init() })
}