mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Simplify.
This commit is contained in:
parent
f004358727
commit
24bd2c6299
1 changed files with 1 additions and 1 deletions
|
@ -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() })
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue